migration/savevm: move non SaveStateEntry condition check out of iteration