build: Raise the CMake policy maximum version to 4.4 This is a cherry-pick of commit 6d2054b29e0e07f0def670e2f2683cc9691cbf67 from branch 'libpng18'.