timer: add macro to check for timer precision error
timer: add macro to check for timer precision error

If precision is lost when converting from microseconds to ticks, cumulated
error may become a problem. This macro allows to check configuration at compile
time to avoid such issues.

robotter/avarix,robotter/avarix,robotter/avarix