Accept signal 0 as a signal which may be generated by PTRACE_INTERRUPT.

Resolves #1198.