[GHC] #8232: Add isFullTBQueue to stm package