Make changes to allow building against libpng 15:  Don't access the now private structures directly, instead access via the relevant call to png_get_* and png_set_* function pairs.