Fix incorrect assertion

* process.c (catch_child_signal): Fix incorrect assertion.