[PATCH 7/7] qemuMigrationCapsCheck: Refactor variable cleanup