[PATCH openEuler-5.10 113/114] perf: Fix list corruption in perf_cgroup_switch()