fork/exit: move tty_kref_put() outside of __cleanup_signal()