[PATCH 5.10 115/116] perf: Fix list corruption in perf_cgroup_switch()