x86-64: make access_ok() independent of LAM