[libvirt PATCH 5/9] vircgroupv1: refactor virCgroupV1DetectPlacement