target/x86: remove temporary files in image generation scripts