Fix issues with ashdi/lshrdi3

- The word order for params/return values was reversed (s0 is
LSB and s1 is MSB)
- Was not properly handling shifts >= 32 bits