clk: stm32f4: fix error handling