fix m4/libcurl.m4 error when using libcurl without curl-config

git-svn-id: https://gnunet.org/svn/libmicrohttpd@32563 140774ce-b5e7-0310-ab8b-a85725594a96