This patch contains many small leftover fixes and additions that are required for Metal-enablement:
- Address space fixes and a few other small compile fixes
- Addition of missing functionality to the Metal adapter headers
- Addition of various scattered __KERNEL_METAL__ blocks (e.g. for atomic support & maths functions)
Ref T92212