James Corden grew emotional as he discussed having "finished" writing 'Gavin and Stacey' for the final time.