Remove use of PATH_MAX
Remove use of PATH_MAX

Instead of using statically allocated char arrays, allocate the memory for the
paths dynamically. This removes the use of PATH_MAX. PATH_MAX is not part of C99
and also seems to be incorrect on some systems that provide it (In terms of
being defined to a value smaller than the maximal path length a system
supports).

Signed-off-by: Tobias Grosser <059b8b880f8441509ec8a65b50b4c6ae74ebea76@grosser.es>
Signed-off-by: Sven Verdoolaege <e5350bbed4977f5eb8ae1dc6abd9ae59d21ace75@kotnet.org>

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