Stripped iCCP chunk from png files

Backport of PR #3213 to branch 2.4. Fix documentation build warnings on systems with latest libpng.