SpawnProcess: convert cgroup pids to int earlier