[IR JIT] Fix JVMVisitor to reflect new location of defCompiledIRMethod

* While at it, I also merged util/SharedLogic.java with
  runtime/IRRuntimeHelpers.java