dm: add dm_bio_rewind() API to DM core