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>