[OLK-6.6 5/9] RDMA/hns: Fix missing capacities in query_device()