isl_ast_codegen.c: generate_sorted_domains: avoid invalid access on error
isl_ast_codegen.c: generate_sorted_domains: avoid invalid access on error

Signed-off-by: Sven Verdoolaege <e5350bbed4977f5eb8ae1dc6abd9ae59d21ace75@kotnet.org>

SaberMod/isl-current,evaautomation/isl,KangDroidSMProject/ISL,nicolasvasilache/isl,jleben/isl,jleben/isl,tobig/isl,evaautomation/isl,simbuerg/isl,Distrotech/isl,Meinersbur/isl,simbuerg/isl,nicolasvasilache/isl,nicolasvasilache/isl,epowers/isl,inducer/isl-mirror,serge-sans-paille/isl,PollyLabs/isl,serge-sans-paille/isl,KangDroidSMProject/ISL,cfx-next/toolchain_isl-upstream,abduld/isl,jleben/isl,pierrotdelalune/isl,Meinersbur/isl,nicolasvasilache/isl,tobig/isl,serge-sans-paille/isl,epowers/isl,abduld/isl,serge-sans-paille/isl,Distrotech/isl,tobig/isl,cfx-next/toolchain_isl-upstream,simbuerg/isl,crossbuild/isl,UBERTC/isl,Meinersbur/isl,KangDroidSMProject/ISL,BenzoSM/isl,BenzoSM/isl,jleben/isl,BenzoSM/isl,abduld/isl,VanirLLVM/toolchain_isl,Distrotech/isl,VanirLLVM/toolchain_isl,UBERTC/isl,inducer/isl-mirror,BobSaget-Mod/libisl,BobSaget-Mod/libisl,PollyLabs/isl,inducer/isl-mirror,cfx-next/toolchain_isl-upstream,VanirLLVM/toolchain_isl,BobSaget-Mod/libisl,epowers/isl,SaberMod/isl-current,PollyLabs/isl,jleben/isl,simbuerg/isl,pierrotdelalune/isl,tobig/isl,UBERTC/isl,simbuerg/isl,SaberMod/isl-current,KangDroidSMProject/ISL,VanirLLVM/toolchain_isl,BobSaget-Mod/libisl,BenzoSM/isl,evaautomation/isl,cfx-next/toolchain_isl-upstream,cfx-next/toolchain_isl-upstream,crossbuild/isl,PollyLabs/isl,UBERTC/isl,BenzoSM/isl,crossbuild/isl,pierrotdelalune/isl,KangDroidSMProject/ISL,VanirLLVM/toolchain_isl,nicolasvasilache/isl,inducer/isl-mirror,epowers/isl,pierrotdelalune/isl,evaautomation/isl,serge-sans-paille/isl,pierrotdelalune/isl,PollyLabs/isl,BobSaget-Mod/libisl,abduld/isl,crossbuild/isl,Distrotech/isl,Meinersbur/isl,Distrotech/isl,SaberMod/isl-current,inducer/isl-mirror,epowers/isl