Interchannel coupling and ground state correlation effects in the photoionization of CO