Sure-up MemoryBuffer ownership in JSONCompilationDatabase's ctor.