Fix error handling in LLVMGetBitcodeModuleInContext.