Merge "Fix perf_event_open syscall for x86 and mips"