[PATCH 6.6 283/290] perf/core: Fix WARN in perf_cgroup_switch()