Convert IP to uint32