gtype: Speed up type checking for final types
Store the final flag directly in the TypeNode, so we can get it cheaply, and use it to speed up g_type_instance_is_a for final types.
Edited by Matthias Clasen
Store the final flag directly in the TypeNode, so we can get it cheaply, and use it to speed up g_type_instance_is_a for final types.