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

* origin/swift-3.1-branch:
  Remove a couple of memset usages from TSan, introduced in r288624.
  [sanitizer] Make atos stdin a non-tty pipe to make sure it's not stuck waiting for user input