VS: Fix support for CUDA flags in a few cases

We accidentally left out target_compile_options flags for CUDA in the VS generator. Fix them.

Also improve our workaround for a CUDA VS integration bug that puts -Xcompiler= in the wrong place on command lines. Instead of dropping the flags, put them in a different place ourselves.

Merge request reports

Loading