Refactored UART Rx/Tx interrupt handler

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>