avcodec/pngdec: print the actual number of bytes left in the error case