bootstage: Correct relocation algorithm