Calculate the desired page valid mask using math that will not overflow the types used.
Sponsored by: Netflix