Minor cleanup in func_curl near hashcompat code.

Review: https://reviewboard.asterisk.org/r/2402/


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@383457 f38db490-d61c-443f-a65b-d21fe96a405b
Have func_curl log a warning when a curl request fails.

Review: https://reviewboard.asterisk.org/r/2403/
........

Merged revisions 383460 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@383461 f38db490-d61c-443f-a65b-d21fe96a405b