[PATCH 6.0 017/197] RDMA/core: Fix null-ptr-deref in ib_core_cleanup()