Fixed issue with sign extension with I type

Fixed issue with sign extension on immediate of I type instructions when
converting from short to int.