What does your state wildlife regs say about baiting? Don't think it's baiting, per se, because the corn wasn't put there by a human. Still might be a concern for the game wardens.
Generally, it's a bad thing shooting duck with corn nearby, even if you didn't put it there.