OSD: write out dirty info if we had to clear the snap_collections

Signed-off-by: Samuel Just <sam.just@inktank.com>