tests: avoid GPOINTER_TO_INT with GType
tests: avoid GPOINTER_TO_INT with GType

GType can be greater than a pointer so it should not be converted to
pointer. On FreeBSD, for example, it is an unsigned long.

ntd/adg,ntd/adg