[libpng16] Removed or marked PNG_UNUSED some harmless "dead assignments"

reported by clang scan-build.
[libpng16] Avoid a clang scan-build warning in pngtest.c