Fixes SysAllocStringLen to handle empty strings without causing panic.
Merge pull request #42 from mgspross/issue41

Fixes SysAllocStringLen to handle empty strings without causing panic.