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.
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.