[Git][ghc/ghc][wip/sjakobi/nonmoving-gc-test-fixes] testsuite: Add test for Eq/Ord ThreadId (#16761)