Probably from Old Church Slavonic годъ (godŭ, “year”), referring to a piglet under a year.
godac m (plural godaci)