scripts: Change kshell from PTY device to socket connection

Use the socket connection instead of PTY so there's no FIFO deadlock
created by the unconnected PTY device during the robot test.

Change-Id: Iab5829ac2c52822ec1dacfa37817cf9637f43c88
4 files changed