[PATCH 6.6 382/603] RDMA/hns: Fix unnecessary port_num transition in HW stats allocation