[PATCH 4.17 060/336] RDMA/mad: Convert BUG_ONs to error flows