The C+N+O abundances and the splitting of the subgiant branch in the globular cluster NGC 1851