This fixes system hangs on reading device registers in lkpiLinuxKPI drivers on aarch64.
`VM_MEMATTR_DEVICE` is also defined on RISC-V and 32-bit ARM, so I used `ifdef VM_MEMATTR_DEVICE` in order to make sure anyone trying to port lkpiLinuxKPI stuff to these architectures doesn't hit the same problem.