refactor: upgrade miette (#9910)
### Description
Upgrade miette to 7.5.0. This bring some nice changes like `NamedSource`
now being generic so you can get the underlying source instead of a
dynamic trait object.
Some minor formatting changes due to upgrade
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->