buffer: cache crc values in buffer::raw

Fixes: #6408, #6409