[PATCH 102/552] RDMA/qedr: Fix out of bounds index check in query pkey