[PATCH 5.17 049/158] perf: Fix sys_perf_event_open() race against self