DCC spent millions on coastal gaffs as RTÉ warns of climate flooding