[tests] Use 'static' when registering enum types
[tests] Use 'static' when registering enum types

Bug 1393 - Regression tests fails on OpenBSD

When registering a GEnumClass we need to set the GEnumValue array
as static const because g_enum_register_static() does not contain
the word "static" just for fun.

Reported by: Jasper <jasper@humppa.nl>

frida/json-glib,ebassi/json-glib,Distrotech/json-glib,Distrotech/json-glib,ebassi/json-glib,robtaylor/json-glib-gvariant,GNOME/json-glib,robtaylor/json-glib-gvariant,oerdnj/json-glib,brauliobo/json-glib,ebassi/json-glib,Distrotech/json-glib,GNOME/json-glib,frida/json-glib,brauliobo/json-glib,brauliobo/json-glib,oerdnj/json-glib,oerdnj/json-glib,oerdnj/json-glib