qemu-img: fix regression copying secrets during convert