XLA compiled `floordiv` allows `integer division by zero`
@YangChenyuan,
I was able to reproduce the issue on TensorFlow v2.15, v2.16 and tf-nightly. Kindly find the gist of it [here](https://colab.research.google.com/gist/tilakrayal/4a765779a644a2c13cc09d78d81e55fc/untitled1906.ipynb).
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.15.0-dev20230914

### Custom code

Yes

### OS platform and distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

XLA compiled `floordiv` allows `integer division by zero` where an exception `Integer division by zero` will be raised without XLA compilation.

### Standalone code to reproduce the issue

```shell
import tensorflow as tf

"""
XLA Compiled
"""
class Model(tf.keras.Model):
    @tf.function(jit_compile=True)
    def call(self, x1):
        x2 = tf.math.floordiv(3, 0)
        x3 = tf.math.multiply(x1, x2)
        return x3

m = Model()
x1 = tf.constant(1, shape=[])
print(m(x1)) # tf.Tensor(-1, shape=(), dtype=int32)

"""
Without XLA
"""
class Model(tf.keras.Model):
    def call(self, x1):
        x2 = tf.math.floordiv(3, 0)
        x3 = tf.math.multiply(x1, x2)
        return x3

m = Model()
x1 = tf.constant(1, shape=[])
print(m(x1))
```


### Relevant log output

```shell
InvalidArgumentError: Exception encountered when calling layer 'model_21' (type Model).

{{function_node __wrapped__FloorDiv_device_/job:localhost/replica:0/task:0/device:CPU:0}} Integer division by zero [Op:FloorDiv] name: 

Call arguments received by layer 'model_21' (type Model):
  • x1=tf.Tensor(shape=(), dtype=int32)
```
