Use an enum for curl_debug_callback info types.

Defined here:
https://github.com/bagder/curl/blob/master/include/curl/curl.h#L378