[libvirt] Committed a fix for building with -Werror