Applied some fixes to util package

RingBuffer.Write will now properly copy the input slice. This
wasn't being done and the caller could overwrite already written
values by mutating the slice.

MutexPool.New now defaults to nil, this was a leftover from testing
the type. Allocating new values by default is not what we intended
to do.