Convert an IPv4 address string into an integer.