Restore termios settings after using serial port

This fixes problem where bossac would leave serial port configured to
115200 baud, even if isn't system's default setting. Such behavior
interferes with other serial port users (eg. Arduino bridge.py)