core: Remove `STATUS_TIMER_WAITING`

Closes #726.

The thread state `STATUS_TIMER_WAITING` is not used anymore.
This PR removes the value.
The number in `STATUS_ON_RUNQUEUE` is replaced by a reference.
Merge pull request #1058 from Kijewski/issue-726

core: Remove `STATUS_TIMER_WAITING`