gemini: image: fix race condition when building copy-kernel.bin