ibootim.c wont build on latest libpng.

Code on the master branch would not build on the latest libpng.

Removed deprecated libpng struct errors. It will now build on the latest libpng.