common: bufferlist::get_contiguous return 0 when param len == 0

The new transaction depends on this semantic.

Or maybe we should have another determinate semantic.

Change-Id: I3eaee45b12c634687cd1b294b3c264aed8cab03a
Signed-off-by: Dong Yuan <yuandong1222@gmail.com>