[PATCH 5.4 241/259] serial: core: check uartclk for zero to avoid divide by zero