[PATCH] pid: Properly detect orphaned process groups in exit_notify