Modules: Use new keyword-dispatched try_compile signature
Modify most of the modules that ship with CMake to use the new try_compile
signature added by !7579 (merged). This improves debugging by each invocation using its own directory so that the results of multiple invocations can be retained.
This does not cover any invocations which provide an entire project, as that flavor of try_compile
has not yet been updated.
Edited by Brad King