fix issue 10752 - accessing a private cached symbol a second time doesn't cause an error in __traits(compiles, ...)

http://d.puremagic.com/issues/show_bug.cgi?id=10752