[PATCH 5.4 073/154] counter: stm32-lptimer-cnt: fix error handling when enabling