[PATCH 6.15 573/592] perf/core: Fix WARN in perf_cgroup_switch()