[PATCH AUTOSEL 6.14 06/34] perf/core: Fix WARN_ON(!ctx) in __free_event() for partial init