Put the framework in place for handling syscall "pseudo-exits" from sigreturn.

Fixes the last of the interrupted-syscall issues I know of that aren't related to the syscallbuf.  If I never see a sigreturn again I'll be a happy man.