[tz] [PROPOSED 2/6] Fix size_t overflow check if SIZE_MAX == INT_MAX