`Assertion failure` in `tf.raw_ops.RFFT2D` and `tf.signal.rfft2d` when the values of `fft_length` are 0.
@SuryanarayanaY I was able to replicate this issue [here](https://colab.research.google.com/gist/sushreebarsa/fc8e046b29c3093edefe27f6bfca54d5/-6_tf_raw_ops_rfft2d.ipynb).
Thank you! 
### Issue type

Bug

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

Yes

### Source

source

### 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?

`Assertion failure` in `tf.raw_ops.RFFT2D` and `tf.signal.rfft2d` when the values of `fft_length` are 0.

### Standalone code to reproduce the issue

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


### Relevant log output

```shell
Assertion failure
axis length mismatch
```
