generator: Add new keyword to GType property when there is a parent GType

This eliminates a lot of warnings when using classes derived from Opaque