JIT: optimized memint-int comparing