Revert "Y2038 - it's more correct to check ivsize, it corresponds to time_t"

This reverts commit 3f0ec48034eb3b2d7b5faea6be94dd533563ea2a.