Implement initial support for watching thread creation and termination. Update ptrace() calls to correctly indicate requested thread. Watchpoints are not supported yet. This patch fixes at least multithreaded register tests. Differential Revision: https://reviews.llvm.org/D89413