cpu: atmega2560: unify use of value in  timer_read()