[libvirt] [PATCH 5/9] conf: refactor checking for unsupported memory devices