cgmanager_create(): Avoid calculating cgroup length again.

Signed-off-by: James Hunt <james.hunt@ubuntu.com>