[libvirt] [PATCH] virDomainChrDefParseXML: don't leak upon invalid input