Enable `clippy::unnecessary_unwrap` (#8756)

This PR enables the
[`clippy::unnecessary_unwrap`](https://rust-lang.github.io/rust-clippy/master/index.html#/unnecessary_unwrap)
rule and fixes the outstanding violations.

Release Notes:

- N/A
373e18bc88Marshall Bowers committed on 3/3/2024, 4:10:56 AM· committed by GitHubparent191fcf6
4 files changedLine totals unavailable