Improve reorderSettingAAElem to avoid recursive semantic call
fix Issue 11201 - ICE: (symbol.c) -inline stops compilation