Update atoi.h

Stop parsing the string when the result is already overflow.