[libvirt] [PATCH 1/2] qemu: Make memory alignment helper more universal