Platform: Clean up time.cpp

Moved disabled resoltuion check into separate function, removed
<stdio.h> include (which I used for printf to check if fix is correct).