Emit GType definitions for error domains
Follow what glib-mkenums is doing here and emit the same GType code for error domains as it is done for enums.
Follow what glib-mkenums is doing here and emit the same GType code for error domains as it is done for enums.