ci: Add GitHub Actions for verifying libpng on Linux, macOS and Windows This is a cherry-pick of commit 03f83b88c16605d670dff6070956a47b116e0787 from branch 'libpng18'.