bootmem: avoid freeing to bootmem after bootmem is done