Fix retrieving array length from constants in other source files
Fix retrieving array length from constants in other source files

Fixes bug 612315.

flobrosch/vala-fixes,playya/vala,Distrotech/vala,frida/vala,frida/vala,frida/vala,tjol/vala-tjol,tjol/vala-tjol,rvu95/vala,themiwi/vala,flobrosch/vala-fixes,frida/vala,GNOME/vala,severinh/vala,kamanashisroy/aroop,GNOME/vala,spidermonkdust/vala,rvu95/vala,flobrosch/vala-fixes,tjol/vala-tjol,themiwi/vala,Distrotech/vala,rvu95/vala,kamanashisroy/aroop,spidermonkdust/vala,frida/vala,jessevdk/vala,spidermonkdust/vala,Distrotech/vala,jessevdk/vala,severinh/vala,GNOME/vala,GNOME/vala,kamanashisroy/aroop,playya/vala,xdave/pvala,themiwi/vala,jessevdk/vala,playya/vala,severinh/vala