[libvirt] [PATCH] libxl: fix coverity issues introduced by 6a95edf