clock-generic: fix 'div' uninitialized warning