[PATCH 4.14 057/343] IB/usnic: Fix out of bounds index check in query pkey