isl_mat_extend: accept NULL pointer on zero-size allocation
isl_mat_extend: accept NULL pointer on zero-size allocation

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

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