Fix return value of GetListOfEnums for a class when loading is not requesting.
Fix return value of GetListOfEnums for a class when loading is not requesting.

The previous implementation was returning a empty unattached list in that case (the idea was to avoid returning an
unprotected modifiable list).  Since then we have introduced TListOfEnumsWithLock which can be used correctly in this
case.  I.e. if the user is requesting to delay the loading of the list, the upside is saving memory (at least upfront),
the downside is slower access as all access to the list will need to be taking the global lock.

thomaskeck/root,zzxuanyuan/root,agarciamontoro/root,pspe/root,beniz/root,zzxuanyuan/root,gganis/root,bbockelm/root,lgiommi/root,zzxuanyuan/root-compressor-dummy,beniz/root,bbockelm/root,karies/root,karies/root,root-mirror/root,mhuwiler/rootauto,georgtroska/root,gganis/root,buuck/root,pspe/root,root-mirror/root,beniz/root,zzxuanyuan/root,thomaskeck/root,mhuwiler/rootauto,BerserkerTroll/root,gganis/root,olifre/root,buuck/root,pspe/root,satyarth934/root,gganis/root,lgiommi/root,gbitzes/root,karies/root,zzxuanyuan/root-compressor-dummy,agarciamontoro/root,thomaskeck/root,olifre/root,karies/root,zzxuanyuan/root,lgiommi/root,simonpf/root,olifre/root,bbockelm/root,Y--/root,bbockelm/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,mhuwiler/rootauto,davidlt/root,Y--/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,Y--/root,zzxuanyuan/root-compressor-dummy,Y--/root,Y--/root,zzxuanyuan/root-compressor-dummy,pspe/root,gganis/root,gbitzes/root,gbitzes/root,pspe/root,agarciamontoro/root,zzxuanyuan/root-compressor-dummy,olifre/root,abhinavmoudgil95/root,beniz/root,zzxuanyuan/root,root-mirror/root,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,olifre/root,beniz/root,beniz/root,mhuwiler/rootauto,beniz/root,gbitzes/root,BerserkerTroll/root,bbockelm/root,BerserkerTroll/root,olifre/root,davidlt/root,thomaskeck/root,buuck/root,buuck/root,agarciamontoro/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,zzxuanyuan/root,root-mirror/root,abhinavmoudgil95/root,abhinavmoudgil95/root,simonpf/root,beniz/root,root-mirror/root,davidlt/root,abhinavmoudgil95/root,olifre/root,gbitzes/root,satyarth934/root,simonpf/root,gbitzes/root,georgtroska/root,zzxuanyuan/root,bbockelm/root,karies/root,zzxuanyuan/root,buuck/root,agarciamontoro/root,mhuwiler/rootauto,buuck/root,root-mirror/root,satyarth934/root,bbockelm/root,karies/root,simonpf/root,zzxuanyuan/root,davidlt/root,lgiommi/root,bbockelm/root,gbitzes/root,davidlt/root,georgtroska/root,georgtroska/root,buuck/root,mhuwiler/rootauto,olifre/root,thomaskeck/root,BerserkerTroll/root,mhuwiler/rootauto,georgtroska/root,BerserkerTroll/root,agarciamontoro/root,mhuwiler/rootauto,georgtroska/root,georgtroska/root,lgiommi/root,agarciamontoro/root,pspe/root,gganis/root,pspe/root,agarciamontoro/root,satyarth934/root,gbitzes/root,thomaskeck/root,davidlt/root,satyarth934/root,buuck/root,gganis/root,buuck/root,lgiommi/root,davidlt/root,beniz/root,olifre/root,mhuwiler/rootauto,agarciamontoro/root,pspe/root,karies/root,gbitzes/root,gbitzes/root,satyarth934/root,gganis/root,satyarth934/root,BerserkerTroll/root,karies/root,root-mirror/root,BerserkerTroll/root,davidlt/root,root-mirror/root,gganis/root,lgiommi/root,abhinavmoudgil95/root,karies/root,satyarth934/root,BerserkerTroll/root,simonpf/root,mhuwiler/rootauto,georgtroska/root,thomaskeck/root,zzxuanyuan/root,root-mirror/root,thomaskeck/root,BerserkerTroll/root,beniz/root,abhinavmoudgil95/root,gbitzes/root,simonpf/root,simonpf/root,lgiommi/root,buuck/root,thomaskeck/root,bbockelm/root,simonpf/root,georgtroska/root,abhinavmoudgil95/root,lgiommi/root,bbockelm/root,zzxuanyuan/root,Y--/root,root-mirror/root,olifre/root,Y--/root,agarciamontoro/root,davidlt/root,satyarth934/root,davidlt/root,Y--/root,georgtroska/root,gganis/root,root-mirror/root,Y--/root,abhinavmoudgil95/root,agarciamontoro/root,abhinavmoudgil95/root,abhinavmoudgil95/root,beniz/root,zzxuanyuan/root-compressor-dummy,pspe/root,lgiommi/root,zzxuanyuan/root-compressor-dummy,gganis/root,georgtroska/root,karies/root,BerserkerTroll/root,simonpf/root,davidlt/root,lgiommi/root,Y--/root,mhuwiler/rootauto,Y--/root,pspe/root,olifre/root,karies/root,bbockelm/root,abhinavmoudgil95/root,buuck/root,simonpf/root,pspe/root,simonpf/root,zzxuanyuan/root