Update jimsh0.c for recent changes

Including:
Fixes [string replace] replacing single char
Fix bug that was causing the system "environ" variable to be freed, which caused mayhem in stdio etc.
Add support for string {equal,compare} -length
aio seek and tell should allow for 64 bit offsets
Fix conversion of numbers >= 2^31
Fix buffer overflow in [info references]