[PATCH v11 18/19] serial: imx: clean up imx_poll_get_char()