firmware-utils: add a small utility for generating nand flash images with ecc info