Summary: We spoof the OS name for the GPU targets and used to get it form the 'end' of the triple list. Adding `-llvm` makes that now point to `-llvm` which is not recognized so it fails. Just use the direct index, we already guard that the triple is the correct size