[PATCH 5.15 379/846] RDMA/hns: Validate the pkey index