[PATCH v2 1/2] tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH