[libpng17] Merge pngtest.c with libpng-1.6.15beta01