Eliminate the use of addr_of and addr_of_mut

addr_of and addr_of_mut is now soft-deprecated, changing to use raw
pointers which was introduced in Rust 1.82. Also fixing clippy warnings.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I3ba72fd6f3239fce6c9735dc2d975210d5359a1d
2 files changed