n_tty: Simplify __receive_buf loop count