[PATCH 3/3 v3] winmm: Reset the tick counter after handling messages. (rebased)