Fix a bug in Decoder where report_tensor_allocations_upon_oom is set to true, which apparently slowed down decoding by nearly 10 times.
Fix a bug in Decoder where report_tensor_allocations_upon_oom is set to true,
which apparently slowed down decoding by nearly 10 times.

PiperOrigin-RevId: 219907429

tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo