[Git][ghc/ghc][wip/sol/pre-processors-errors] Respect `-fdiagnostics-as-json` for error messages from pre-processors