fix random switches and page construction

Fix truncated page construction, as well as several unreachable switch
statements. Make interesting 32bit number actually 32 bits. Add additional
64 bit construction with high 32bits from interesting-32.

Signed-off-by: Kees Cook <keescook@chromium.org>