[PATCH 5.4 07/74] RDMA/core: Fix null-ptr-deref in ib_core_cleanup()