[libvirt] fix spice graphic format issue in function virDomainGraphicsDefFormat