Cleanup stm32_timer driver