Fix remaining bad uses of logDiagnosticMessageWithValue()