samd21: map 4 hwtimer channels onto 2 periph timers

Multiplex 4 hwtimer channels onto 2 TC timers.
whats the reason for setting the `INTGLAG` before you disable the interrupt?