Curriculum-Guided Layer Scaling for Language Model Pretraining