atmel_serial: split the interrupt handler