JIT64: various integer optimizations

It seemed a bit wrong to have a function named Log2 when there's already a system function called log2 that does something totally different