memcg: disable hierarchy support if bound to the legacy cgroup hierarchy