[Libvirt-cim] [PATCH 10/47] Fix xml parsing algorithm for parse_mem_device()