MSVC: Add test for debug information format

Verify that the format's flags are used to compile, both in the
main project and in `try_compile` test projects.
11 files changed