[tilegx] Adjust register mapping between JS and C/C++.

  Also fixed kNumInstructionsToJump bug. The distance should be
  4, as we have added one extra stack adjustment instruction.