[libvirt] [PULL v2 26/43] memory-device: factor out get_memory_region() from pc-dimm