tests: improve calculation in hwtimer_wait

Kudos to @Kijewski
`iterations * (start_duration * 2L - 1)` or doesn't it matter here?