Hmm, I don't think it would be necessary to take her to the vet unless the corn is causing her injury. Our hams can do some pretty funny, weird and worrisome things, and I think this is just a case of silly behavior
If she isn't pouching any food though I would take her to the vet, she could have a cheek injury or a piece of food lodged in her cheeks.