[Git][ghc/ghc][master] Enable printf warnings for trace functions and fix resulting warnings