[PATCH 6.1 10/22] counter: stm32-lptimer-cnt: fix error handling when enabling