[PATCH 5.15 171/172] perf: Fix list corruption in perf_cgroup_switch()