Enhancing LLM Language Adaption through Cross-lingual In-Context Pre-training