[dm-thin] commit was failing when in PM_OUT_OF_DATA_SPACE mode

Oversight from when this mode was added.  It now only fails if in
PM_READ_ONLY or PM_FAIL.