[PATCH openEuler-1.0-LTS 39/62] perf: Fix list corruption in perf_cgroup_switch()