Improve character range checks in JIT.