Fix rb.test to avoid overwriting memory during reading.

In test_ring_buffer1,
if the size of the chunk(90-93) is larger than size of the hdr (16),
it comes to overwriting memory during reading.