[PATCH 6.12 043/393] perf/core: Simplify the perf_event_alloc() error path