Add trampoline version to the header of injected boot images
Fix crash in MultiROM::restoreBootPartition()