Standardize the usage of GB_WIDGET_CLASS_* macros

klass can always be used instead of widget_class, as the casting will
be done in the registration macros.