hadrian: Don't print Shake Diagnostic messages (#20484)
This works because the only place where Diagnostic
is passed to the output function is here, which is only called when shake wants to print internal diagnostics.
It seems easier this way compared to introducing a whole new HadrianVerbosity
type, though that may be clearer in the long run.