fix Issue 6799 - ICE(type.c) involving AAs and pointers to structs

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