cgroup: fix cgroup post-order descendant walk of empty subtree