osd: Add digest of omap for deep-scrub

Undo buffer.h changes
Use ::encode() of header and key/values so lengths
  precede each piece of data.  This way digest reflects
  the actual omap structure.

Signed-off-by: David Zafman <david.zafman@inktank.com>