bootmem: fix aligning of node-relative indexes and offsets