64-bit compatibility for JIT hook

May not be the best solution, but this works for both 32-bit and 64-bit
applications that I tested.

Method token remainder is always at info->ftn as far as I know.