Make ObjectFile ownership of the MemoryBuffer optional.