`Check failed` and `segmentation fault` in `tf.raw_ops.AudioSpectrogram`.
@SuryanarayanaY I was able to replicate the issue reported [here](https://colab.research.google.com/gist/sushreebarsa/70e69afd98868af8080befdf9cee448a/-11_-6_tf_raw_ops_audiospectrogram.ipynb). Thank you!
### 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 `window_size` is negative, `tf.raw_ops.AudioSpectrogram` triggers `segmentation fault`. When the value of `window_size` is too large, `tf.raw_ops.AudioSpectrogram` triggers`Check failed` due to RAM being full.

### Standalone code to reproduce the issue

```shell
https://colab.research.google.com/drive/18-XyT4GBDN-o5SZ8jNSR01a9wR-SwScR?usp=sharing
```


### Relevant log output

segmentation fault (core dumped)

or

Check failed: fft_length_ >= window_length_  Aborted (core dumped)