memcg: move charges to root cgroup if use_hierarchy=0