[Git][ghc/ghc][wip/romes/27729] rts: Fix race condition in MSG_UPD_TSO_FLAGS execution