Do not include JIT.h header file on MCJIT builds.

Minor cleanup.
Merge pull request #7500 from crayxt/patch-2

Do not include JIT.h header file on MCJIT builds.