[LLVMSymbolize] Use std::unique_ptr more extensively to clarify ownership.