[core/linux] Fixes millis() implementation.