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 whereas old hook crashed on 64-bit.

Method token remainder is always at info->ftn as far as I know.