[PATCH 4.19 181/196] serial: core: check uartclk for zero to avoid divide by zero