Mass-loss rates for IRAS-bright red giants - A revised model of circumstellar CO emission