[PATCH 4.19 126/639] RDMA/qedr: Fix out of bounds index check in query pkey