Add support for encoding XSUB subtitles. Muxing support is still missing.