Corrected runtime errors with multiboot_detect_memory() and page_init()