tty: fix compat TIOCGSERIAL leaking uninitialized memory