[PATCH 5.15 025/144] RDMA/core: Fix null-ptr-deref in ib_core_cleanup()