avcodec/ccaption_dec: change write_char() to void as return value is unused