[PATCH 5.4 086/147] IB/core: Fix potential NULL pointer dereference in pkey cache