Simulator: sext8/sext16 were not working correctly

When a value was not negative, it still needed to have
its high bits changed to zero.  Passing something like
0x104 to sext8 would incorrectly return 0x104 instead
of 0x04.