Allow CRingBuffer::WriteData() to receive const buffers