[PATCH 4.14 027/186] sctp: handle invalid error codes without calling BUG()