HIVE-4525 Support timestamps earlier than 1970 and later than 2038

@jhartlaub