[Gen] Fix up AssertMainThread being added twice in constructors.
[Gen] Fix up AssertMainThread being added twice in constructors.

sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp