A comparison between CO-, OH-, and IR-mass-loss rates of evolved stars