avcodec/ccaption_dec: Use simple array instead of AVBuffer