[libvirt] [PATCH] virExec: avoid undefined behavior