FindMatlab: Add fallback to use -batch option in version extraction

Fixes: #22646
1 file changed