codegen: Fix create_type_check_statement when result is a SimpleType struct
codegen: Fix create_type_check_statement when result is a SimpleType struct

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