[PATCH 4.19 102/239] RDMA/hns: Validate the pkey index