[libpng15] Check validity of "nentries" parameter of png_set_sPLT().

and check validity of "num_text" parameter of png_set_text_2().
Fix building static libs with ICC in CMakeLists.txt
Merge remote-tracking branch 'origin/libpng15' into libpng15-ssse3