Vibrationally resolved photoionization of the O K-shell of CO molecule