perf/core: Fix a race between mmap_close() and set_output() of AUX events