Curl_resolver_is_resolved: fix compiler warning

conversion to 'int' from 'long int' may alter its value