head: simplify rbuf_n_bytes() in head.rs
head: simplify rbuf_n_bytes() in head.rs

Simplify the code in `rbuf_n_bytes()` to use existing abstractions
provided by the standard library.

uutils/coreutils,uutils/coreutils,uutils/coreutils