[DiagnosticEngine] Don't account ignored diagnostics in `Sema.NumSwift6Errors` statistic
Since the diagnostic is not going to be emitted counting it in
`Swift6Errors` statistics is going to be confusing to the users.
Resolves: https://github.com/swiftlang/swift/issues/79291
Resolves: rdar://145341605
(cherry picked from commit 664c119e3085ba6a13d90493e8d7b3452b564c0d)