Update table.write to avoid triggering copy-on-read.
Update table.write to avoid triggering copy-on-read.

After TF changed copy-on-read behavior this slowed down our collect by ~15x depending on the RB size.

PiperOrigin-RevId: 226085611

tensorflow/agents,tensorflow/agents