[PATCH 5.10 318/352] serial: core: check uartclk for zero to avoid divide by zero