membuf is now a std::unique_ptr in llvm3.6
Merge pull request #8374 from jakebolewski/jcb/fixllvm36osx

llvm-3.6 getMemBuffer now returns a std::unique_ptr<MemoryBuffer>