bootmem: clean up arch-specific bootmem wrapping