When a string I/O callback rejects the first transfer of a batch, the
handler still writes the index and count registers. With 32-bit addressing,
these writes clear the upper halves even though no transfer completed.
Return the error without writing the registers when the count has not
changed. Continue to commit completed progress when an error occurs after
successful transfers in the batch.
Sponsored by: Alchemilla Ventures Private Limited