core: moved access to fields of BootstrapStruct behind an API, which will make porting to non-multiboot bootloaders much easier.

This is a step towards moving towards GRUB2 and possibly also Multiboot 2.