The commandline flag to specify a particular openmp devicertl library
currently errors like:
fatal error: cannot open file './runtimes/runtimes-bins/openmp/libomptarget': Is a directory
CommonArgs successfully appends the directory to the commandline args then
mlink-builtin-bitcode rejects it.
This patch is a point fix to that. If --libomptarget-amdgcn-bc-path=directory
then append the expected name for the current architecture and go on as before.
This is useful for test runners that don't hardcode the architecture.
-### escapes backslashes in Windows paths UNIX-style (which actually is unnecessary/wrong, the cmd.exe escape character is ^, but windows also ignores consecutive slashes), so the actual output is
The regex {{.}} does not capture the double backslash. {{/|\\\\}} would work.