avcodec/prosumer: Check for bytestream eof in decompress()