ci: Update ctest scripts with policies through CMake 3.29 Since commit 84db8506ff (Deprecate compatibility with CMake versions older than 3.10, 2024-10-03) some of the scripts warned when executed with a `ctest` built earlier in the pipeline.