[PATCH 6.14 047/449] perf/core: Simplify the perf_event_alloc() error path