[Git][ghc/ghc][wip/sjakobi/nonmoving-gc-test-fixes] 2 commits: rts/js: Implement eq_thread, and test Eq/Ord ThreadId (#16761)