[PATCH openEuler-5.10 07/22] cgroup: fix compile error when CONFIG_MEMCG = n