net/hns3: fix insecure way to query MAC statistics