ENG-5586: Fix premature buffer discard in StreamSnapshotDataTarget.