irqdomain: Fix handling of type settings for existing mappings