avr: fix divide when CLOCK_SECOND is not a power of two
Merge pull request #878 from jlusticky/avr-clock-fix

avr: fix divide when CLOCK_SECOND is not a power of two