Ignore stty errors when stdin isn't a terminal

Prevents extra output on stderr when running from cron with `-v'.