test/curl: use double capture only on broken GCC versions
test/curl: use double capture only on broken GCC versions

earlier versions of clang have problems with the previous version. Also other compilers might fail here

karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework