S. Korea says deal to ensure GM will stay in country for at least 10 years