Stochastic systems with delay: Perturbation theory for second order statistics