Add LLVMContext::emitWarning methods and use them. <rdar://problem/12867368>