perf_events: Fix validation of events using an extra reg