Issue 10005 - struct variable declaration and const-correctness

http://d.puremagic.com/issues/show_bug.cgi?id=10005

This change fixes const-correctness issues around qualified object construction.
I think this is necessary for 2.063 release.