n_tty: Factor ISTRIP and IUCLC receive_buf into separate fn