[PATCH 5.10 135/157] counter: stm32-timer-cnt: fix ceiling write max value