dm-thin, dm-cache, persistent-data: Fix a bug in bootstrap_get_count.