[PATCH 6.1 142/473] drivers/perf: hisi: hns3: Fix out-of-bound access when valid event group