[PATCH] serial: core: check uartclk for zero to avoid divide by zero