[PATCH openEuler-5.10 029/237] tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero