[libvirt] [PATCH v2] test: fix screenshot API impl