Aborted can be triggered in  tf.raw_ops.TensorListConcat
Hi **@vwrewsge** ,

I tried to run your code on colab using tf 2.15, 2.16 and tf-nightly versions faced same issue. Please find the [gist](https://colab.sandbox.google.com/gist/Venkat6871/895584f0f6c534a30189918240c83056/63722_2-15-2-16-nightly.ipynb) here for reference. We need to work on it, In few days i will provide a solution for it.

Thank you!
### Issue type

Bug

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

Yes

### Source

binary

### TensorFlow version

tf 2.15

### Custom code

Yes

### OS platform and distribution

Ubuntu 20.04

### Mobile device

_No response_

### Python version

3.9

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

The following code sometimes runs normally when calling `tf.raw_ops.TensorListConcat`, but sometimes encounters an "aborted" error.

To reproduce the issue, it may be necessary to execute several times.

### Standalone code to reproduce the issue

```shell
import tensorflow as tf

input_data_1 = tf.constant([[1, 2, 3], [4, 5, 6]])
input_data_2 = tf.constant([[7, 8, 9], [10, 11, 12]])

input_handle = tf.raw_ops.TensorListReserve(element_dtype=tf.int32, element_shape=[2, 3], num_elements=2)
input_handle = tf.raw_ops.TensorListSetItem(input_handle=input_handle, index=0, item=input_data_1)
input_handle = tf.raw_ops.TensorListSetItem(input_handle=input_handle, index=1, item=input_data_2)

concatenated_data, lengths = tf.raw_ops.TensorListConcat(input_handle=input_handle, element_dtype=tf.int32, element_shape=[6])

print(concatenated_data)
```


### Relevant log output

```shell
tf.Tensor([1 2 3 4], shape=(4,), dtype=int32)
malloc_consolidate(): invalid chunk size
Aborted (core dumped)
```
