If llvm-ar is installed at arm-pokymllib32-linux-gnueabi-llvm-ar, it may
think it is llvm-lib due to the "lib" substring.
Update the heuristic to make all the following work as intended:
llvm-ar-9
llvm-ranlib.exe
arm-pokymllib32-linux-gnueabi-llvm-ar
arm-pokymllib32-linux-gnueabi-llvm-ar-9
FYI, this test never ran because llvm/test/tools/llvm-dlltool/lit.local.cfg has config.suffixes = ['.def'] (instead of config.suffixes.add('.def')). (And if I change the lit.local.cfg file to make it run, the test fails.)