agetty: fix hang of agetty

now agetty does not exit on tcsetpgrp error

Signed-off-by: Eik Binschek <binschek@dresearch-fe.de>