`Overflow` in `tf.raw_ops.DenseBincount` when the value of `size` is too large.
Hi @xl1043237213 ,

Thanks for reporting. I have reproduced the reported behaviour and attached screenshot below.

<img width="1500" alt="Screenshot 2024-04-15 at 1 52 35 PM" src="https://github.com/tensorflow/tensorflow/assets/116063290/2c29f38f-acf9-4207-847f-af3f1c2fa26d">

### Issue type

Bug

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

Yes

### Source

binary

### TensorFlow version

tf 2.15

### Custom code

No

### OS platform and distribution

Linux Ubuntu 20.04

### Mobile device

_No response_

### Python version

3.10

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

When the value of `size` is close to the maximum value for the dtype, an integer overflow error will occur in following multiplication calculations.

### Standalone code to reproduce the issue

```shell
https://colab.research.google.com/drive/1HOwF3BTWBrP2y9hpnFD9STu86vG7PrFX?usp=sharing
```


### Relevant log output

```shell
Non-OK-status: InitDims(dim_sizes) status: INVALID_ARGUMENT: Encountered overflow when multiplying 3 with 6522107765268123892, result: -1
Aborted (core dumped)
```
