Fix clang version detection in src/pal/tools/gen-buildsys-clang.sh (dotnet/coreclr#11398)
The version detection that was added recently for the purpose of selecting
optimization options for ARM builds was not working properly when the
clang binary doesn't have version in its name. This resulted in syntax
error being reported on OSX and some Linux distros:
/Users/janvorli/git/coreclr/src/pal/tools/gen-buildsys-clang.sh:
line 162: : /usr/bin/clang: syntax error: operand expected (error token is "/usr/bin/clang")
Commit migrated from https://github.com/dotnet/coreclr/commit/
b1247408c30dd4dc511e8a65adf8a4efb2776f10