Add C compiler response file support detection logic
Currently, when the GHC driver invokes a C compiler for compiling/linking, it assumes the compiler support response files unconditionally. However, there are rare cases that response files aren't supported by the C compiler driver (e.g. https://github.com/AFLplusplus/AFLplusplus/issues/1730), so these cases should be taken into account. The GHC configure scripts should detect if the C compiler supports response files, that should get into settings
which is later used by the GHC driver.