[libvirt] [PULL v2 29/43] memory-device: complete factoring out pre_plug handling