common/buffer: drop unused fields

Signed-off-by: Sage Weil <sage@inktank.com>
common/buffer: fix crc_map types

Signed-off-by: Sage Weil <sage@inktank.com>
common/buffer: invalidate crc on zero, copy_in

This does not capture users who

 - calc a crc
 - use c_str() to modify the buffer content
 - (re)calc a crc

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #738 from ceph/wip-cache-crc

fix cached crc, bug #6583

Reviewed-by: Samuel Just <sam.just@inktank.com>