Electron correlation effects in attosecond photoionization of carbon dioxide