curl: Use autoconf script to generate config headers on Linux

When the RUN_CURL_CONFIGURE variable is set, use the curl configure
script to generate curlbuild.h and curl_config.h instead of using
pre-cooked ones.  Enable only on Linux for now.

This make sure the configuration is correct and up-to-date regardless of Linux arch or distro.