add m4/libcurl.m4

Arch Linux curl package stopped shipping libcurl.m4, stating needy
packages should include this on their own:
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/curl&id=a5d620932b12d966ea7fa9e814590dd78562a12b