[PATCH openEuler-5.10-LTS 04/12] tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()