[libvirt] [PATCH v3 1/2] qemuMigrationCookieAddPersistent: move it out and change argument type