clk: clk_stm32f: Fix stm32_clk_get_rate() for timer