net/hns3: fix error code in xstats