src/shared/cgroup-util.c: code cleanup following upstream

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>