intel/genxml: Allow referencing enums in type attributes