fix: native hwtimer backend emulation

searching for the next pending timer was broken
this commit rewrites this functionality