[PATCH 4.14 31/37] tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()