Fix build againstly llvm36 on win64

Note that errorobj on Windows uses an existing MemoryBuffer,
so createObjectFile does not return OwningBinary.