Onnx export of cache aware conformer fails
Latest fixes of  onnx export of cache aware conformer still fail.
PR [ #6311](https://github.com/NVIDIA/NeMo/pull/6311) (This is not yet in nemo 1.17.0, only https://github.com/NVIDIA/NeMo/pull/5837 is with more problems)


The model get's exported, but inferencing results in an exception.
This can be seen when the onnx model inference results get's verified with the pytorch model as a last step of the export. This fails with:

[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'Reshape_1530' Status Message: D:\a_work\1\s\onnxruntime\core\providers\cpu\tensor\reshape_helper.h:26 onnxruntime::ReshapeHelper::ReshapeHelper i < input_shape.NumDimensions() was false. The dimension with value zero exceeds the dimension size of the input tensor.
(I had to change CUDAExecutionProvider to CPUExecutionProvider)

The model was trained with nemo, but I can not share such a model.

Also I would want to remark that the dimension 0 and 1 of tensors: cache_last_channel and cache_last_time get transposed at the input and transposed again at the output, while this transposing is not needed and adds overhead.
