tests: remove need for pow,log2 in hwtimer_wait

Default to precalculated value for geometric series, so pow and log2
are not needed.
Merge pull request #1626 from LudwigOrtmann/hwtimer_wait_fixup

tests: remove need for pow,log2 in hwtimer_wait