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