[OLK-6.6 5/5] RDMA/hns: Fix incorrect variable usage in scc_attr_is_visible()