[Git][ghc/ghc][wip/dcoutts/posix-cond-vars] 51 commits: testsuite: add tests for the IO manager lock-up of #21969