Fixed compiler assert failure with unsafe references and deferred arguments

git-svn-id: http://svn.code.sf.net/p/angelscript/code/trunk/sdk@1964 404ce1b2-830e-0410-a2e2-b09542c77caf
Fixed problem with enumerating entities after removing a config group


git-svn-id: http://svn.code.sf.net/p/angelscript/code/trunk/sdk@1965 404ce1b2-830e-0410-a2e2-b09542c77caf