[libvirt] [PATCH 4/5] qemu: process: Extract gathering of 'numad' placement into a function