Real implementation of GetTickCount.