In the second quarter, Lattice Semiconductor's revenue was $124 million, while analysts expected $123.9 million