qcow2: Fix L1 write error handling in qcow2_update_snapshot_refcount