ni_process: fix POLLOUT handling when running a process inside a pty

Signed-off-by: Olaf Kirch <okir@suse.de>