[libpng16] Revised png_set_text_2() to avoid possible memory corruption

when writing.
3 files changed