Disable warnings from Clang correctly, by directly
manipulating the diagnostics engine.

<rdar://problem/13508470>