avcodec/ass: add ASS trailing \r\n in one single place