Fix py3.11 dataclasses issue
This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. This PR was closed because it has been inactive for 7 days since being marked as stale. Could you fix the formatting checks? > Could you fix the formatting checks?

Formatting checks are passing now (after I synced my fork). We're seeing some CI instability so the tests are taking longer than ususal. I merged main and re-triggered the failing tests (they don't seem related to your changes). Will keep monitoring this PR until it's all green.
# What does this PR do ?

Fixes #9419.

**Collection**: [ASR]

# Changelog 
- Fix dataclasses in examples/asr/transcribe_speech.py.
- Fix dataclasses in examples/asr/speech_to_text_eval.py.

# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
  - [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
  
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation


# Additional Information
* Related to #7166.
