[PATCH 4.19 326/350] cgroup: Fix potential overflow issue when checking max_depth