Handle overflow correctly for convert_to_numeric_safe
Don't permit overflowing strings for int hints