Callers of csystem now return correct exit code

Two procs in os and osproc now call `shr 8` on their return codes, so that the correct exit code is passed to their callers.