Make ObjectFile and BitcodeReader always own the MemoryBuffer.