Target triple OS detection tidyup. NFC

Use Triple::isOS*() helpers where possible.