Merge remote-tracking branch 'origin/swift-3.0-branch' into stable

* origin/swift-3.0-branch:
  Use the new lit.util.isMacOSTriple function to determine if a target triple is a macOS target triple.