[PATCH 6.6 16/26] counter: stm32-lptimer-cnt: fix error handling when enabling