[PATCH 6.17 027/563] perf: arm_spe: Prevent overflow in PERF_IDX2OFF()