FindMatlab: accommodate Matlab running under Rosetta

fixes #24312
1 file changed