[jit] Replace signed division by constants with multiplication, additions and shifts for better performance.
Add test for constant division.