[libvirt PATCH 2/6] conf: split out virDomainDefParseMemory