build/lattice/diamond: add jedec file generation