Use diagnostic handler in the LLVMContext