[CMake] Suppress hdf5 compiler wrapper checks on Conan and !MSVC.
Suppresses (misleading) errors such as:
-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
If hdf5 is successfully found it just prints (on the first CMake-run):
-- Found HDF5: ~/.conan/data/hdf5/1.12.0/_/_/package/a24156477f4f00ae83ffd3548539d546ffc1c599/lib/libhdf5.a (found version "1.12.0")
cc: @nagelt