LOG: Active Model Adaptation for Label-Efficient OOD Generalization