[Git][ghc/ghc][wip/dcoutts/signals-cleanup] 18 commits: Change sigprocmask to pthread_sigmask in a couple places in the rts