Yann Kermorgant scored twice and set up another as Charlton rounded off their season with a 4-1 victory over already-relegated Bristol City.