Fix racy use of anon_inode_getfd() in perf_event.c