FindMatlab: Silence warnings for mex version file

This adds -w to to the version source file's compile options.
Currently, this is done for Clang and compilers officially supported by
Matlab.

Fixes: #24851
1 file changed