try_compile: Fix flag escaping on VS 6 and Watcom

Fix the TryCompile test's TESTDEF case to use flags that the
VS 6 IDE and Watcom compiler understand.
Merge topic 'try_compile-escape-flags' into next

a07c73b try_compile: Fix flag escaping on VS 6 and Watcom