tty: Fix sparse static warning for tty_driver_lookup_tty