[PATCH 4.14 236/315] tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero