termios: Use "stty" for portability

Use the "stty" shell command to make it possible to cross-build Darwin
version on Linux with goxc.

Signed-off-by: Pekka Enberg <penberg@iki.fi>
Merge pull request #95 from penberg/termios-portability

termios: Use "stty" for portability