HevRingBuffer: Fix write_finish.