This is @pzanoni's 70dcffde cherry-picked to the 22.0 branch with no changes.
It is useful for XeHP as it then makes use of abace2b8 to align VMA to 2MiB.
Cc: @dbaker, @pzanoni, @kwg