Remove Diagnostic's get/setNumErrors() and getNumErrorsSuppressed().