[GHC] #10023: Relax Monad constraint in traceM and traceShowM to Applicative