Assert death only in the debug mode in sync_kernel_test.
Assert death only in the debug mode in sync_kernel_test.

This is because the validity of kernel call is only verified in the debug mode.

PiperOrigin-RevId: 321187073

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