pngdec: do not release buffer on failure instead report full progress