Fix a -Wparentheses warning in ASTDiagnostic.cpp.