Closes #22568: fix UTIME_TO_* macros in posixmodule for rare cases.