unique_ptrify the raw_ostream argument to clang::serialized_diags::create