Marked png_write_rows and png_write_image as taking a const ptr