[tfrt] Prevent unbounded stack growth in BefExecutor
[tfrt] Prevent unbounded stack growth in BefExecutor

PiperOrigin-RevId: 440981720

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime