**Describe the bug** Compilation issue in STM32 counter driver when LSE is the clock source and SoC is not F4. cf #15351