Text this: A Causal Language Modeling Detour Improves Encoder Continued Pretraining