[PATCH 4.9 185/245] tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero