generate: Handle the element-type attribute for ListModels
When returning a GListModel, GTK annotates the element type held inside the list model with:
(attributes element-type=GtkWindow)
as the (element-type)
annotation can only work for arrays, linked
lists, and hash tables.
We still want to indicate what is the expected type inside a GListModel, as it's completely opaque otherwise.