fix some cppcheck warnings
also use explicit filenames in dedicated/CMakeLists.txt
update pr-downloader