Make use of DiagnosticType to provide better AArch64 diagnostics.