The effect of longitudinal flow on resonantly damped kink oscillations