tty: Fix leaks introduced by the shift to separate ldisc objects