Introduce llvm.WriteBitcodeToMemoryBuffer function