[PATCH 5.18 155/231] tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()