[Git][ghc/ghc][master] compiler: mark tool messages as errors/warnings depending on the exit code