Explicitly use vm_jit inside state

This pointer was setup because the JIT needs access to it, but recent
clang versions saw it wasn't used in any of the C++ parts. This change
makes sure that we explicitly use it in at least one place so clang
doesn't complain.

Fixes #2137