Correct various assertion failures in methodjit when used with non-interpreted
scripts