Patch CodeGen JIT initialization

Working towards CUDA dynamic linking/symbol resolution (for Linux).
At this point, it works with MCJIT disabled, but not with MCJIT.