dm thin: fix the error path for the thin device constructor