Add a function g_pointer_type_register_static() to register a type derived