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: I96465097ba35a20286ea4036f71f9a215770596c
2 files changed