systemclock: Update monotonic reference time when re-scheduling
There is no guarantee that the clock is currently advancing, therefore if we re-schedule (because of timeouts) a clock wait, we need to re-acquire the current monotonic clock value against which we will wait.
Avoids spinning the cpu like mad (due to constant timeout) when clocks are PAUSED.
Fixed #673 (closed)