[PATCH openEuler-1.0-LTS 3/3] tty: fix crash in release_tty if tty->port is not set