[libvirt] [PATCH 3/3] conf: Perform error checking in virDomainDeviceInfoFormat()