avcodec/apedec: Do not partially clear data array