[tilegx] Fix Hash number generation bugs.

  Hash number are expected 32bit, all those srl/sll should use 32bit
version.
[tilegx] Revert typo in mips code.