The trigger system of the ICARUS experiment for the CNGS beam