[PATCH 4.14 128/173] tty: fix termios input-speed encoding when using BOTHER