First detection of rotational CO line emission in an RGB star