cpu: atmega2560: fix timer implementation to use ticks_per_us