[dm-thin-metadata] add missing unlock in set_needs_check
[dm-thin] some small clean ups from Mike
[dm-thin] another tidy up from Mike