Use termios via CGO on Linux

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>