[libvirt] [sandbox][PATCH]builder-machine: fix incorrect memory allocation