drivers/perf: hisi_pcie: Fix out-of-bound access when valid event group (CVE-2024-38569) | HOL Guard CVE