Add a script to count the chunks generated in libpng.
Add support for sPLT chunks.

The reading part is tested but not the writing part.