mkimage: avoid copying relocations for sections that won't be copied.