dm crypt: move dec_pending on error into write_io_submit