Backport verify_no_writes_on_read to 1.4