Add rudimentary support for loadseg system call.

Supports only one code hunk per file.  Presently doesn't support relocation
records, but those should be on the easy side of implementing.