[libvirt PATCH] esx: pass 'long' to curl_easy_setopt when needed