kselftest/cgroup: fix unexpected testing failure on test_core