configure.ac: check for png_set_rows in libpng because early versions