fix Issue 6461 - multiple definitions with typeid and multiobj

http://d.puremagic.com/issues/show_bug.cgi?id=6461

I'll get to a test case for it tomorrow.