This fixes cases on ARM64 when importing from more than one DLL, in case the imports from the first DLL ended up unaligned.
When fixing up a IMAGE_REL_ARM64_PAGEOFFSET_12L, which shifts the offset by the load/store size, check that the shift doesn't discard any bits. (This would also detect if the import address chunks were unaligned.)
It is better to use uint32_t so that you don't need to think about sign-extended shift.