[GHC] #12607: Memory effects in doomed STM transactions