[Git][ghc/ghc][wip/dcoutts/printf-warnings] Enable printf warnings for trace functions and fix resulting warnings