MIPS, Perf-events: Fix event check in validate_event()