cgroup_freezer: implement proper hierarchy support