I think that it would probably be fine rinsed super well and then cooked- but I wouldn't be able to eat it knowing it had bugs all over it- I voted throw it out!
Once as a child I poured some cereal that had been hiding in the cubbord for a while and took a bite and then saw it had bugs in it. I ran outside and spit and spit and spit and BLECK I still check my cereal super closely for bugs now and then.
Once as a child I poured some cereal that had been hiding in the cubbord for a while and took a bite and then saw it had bugs in it. I ran outside and spit and spit and spit and BLECK I still check my cereal super closely for bugs now and then.