[PATCH v2] serial: imx: fix a race condition in receive path