optimize page table index calculations
optimize page table index calculations

The shift functions are way too slow which slows down memory access
tremendously. This is improved by multiplicating/dividing by literals.

ChristianMoesl/selfie,ChristianMoesl/selfie,cksystemsteaching/selfie,cksystemsteaching/selfie,cksystemsteaching/selfie