ares_set_servers_csv: fixed IPv6 address parsing

Fixed bug that caused the last part of an IPv6 address to be parsed as
the port number when the last part is all numeric.