timespec: use the new TIMESPEC_RESOLUTION in a few more places