Return a std::unique_ptr when creating a new MemoryBuffer.
Update for LLVM api change.
Update for LLVM api change.