counter: stm32-timer-cnt: fix ceiling write max value