[PATCH 6.6 006/151] cgroup: Fix potential overflow issue when checking max_depth