Stochastic averaging of oscillators excited by colored Gaussian processes