isl_ast_codegen.c: move up add_stride_guard definition
isl_ast_codegen.c: move up add_stride_guard definition

This will allow us to reuse this function from refine_degenerate.

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

Distrotech/isl,Distrotech/isl,jleben/isl,tobig/isl,KangDroidSMProject/ISL,evaautomation/isl,SaberMod/isl-current,Meinersbur/isl,simbuerg/isl,Distrotech/isl,abduld/isl,KangDroidSMProject/ISL,nicolasvasilache/isl,inducer/isl-mirror,Meinersbur/isl,PollyLabs/isl,simbuerg/isl,crossbuild/isl,BenzoSM/isl,nicolasvasilache/isl,tobig/isl,UBERTC/isl,UBERTC/isl,SaberMod/isl-current,evaautomation/isl,PollyLabs/isl,BenzoSM/isl,inducer/isl-mirror,inducer/isl-mirror,crossbuild/isl,PollyLabs/isl,UBERTC/isl,Meinersbur/isl,jleben/isl,simbuerg/isl,abduld/isl,UBERTC/isl,evaautomation/isl,simbuerg/isl,SaberMod/isl-current,tobig/isl,nicolasvasilache/isl,abduld/isl,evaautomation/isl,inducer/isl-mirror,abduld/isl,inducer/isl-mirror,BenzoSM/isl,nicolasvasilache/isl,jleben/isl,KangDroidSMProject/ISL,crossbuild/isl,BenzoSM/isl,BenzoSM/isl,KangDroidSMProject/ISL,PollyLabs/isl,Distrotech/isl,KangDroidSMProject/ISL,nicolasvasilache/isl,simbuerg/isl,PollyLabs/isl,jleben/isl,Meinersbur/isl,tobig/isl,Distrotech/isl,SaberMod/isl-current,crossbuild/isl,jleben/isl