ARM: 7810/1: perf: Fix array out of bounds access in armpmu_map_hw_ev…