codegen: check delegate type has_target in object creation expr
codegen: check delegate type has_target in object creation expr

Fixes bug 626949.

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