avcodec/dvdec: add frame threads