CVE-2025-40081 perf: arm_spe: Prevent overflow in PERF_IDX2OFF()