cmake: Don't run gcc/clang compiler checks under MSVC

These options and flags don't work with MSVC, so it avoids a long list of warnings when running cmake on Windows.

Testing: if the jobs are green this hasn't broken anything.  MSVC isn't yet tested with bioformats, but this will be used for OmeroCpp with MSVC with the cmake branch merged in.

--no-rebase