avcodec/bitpacked_enc: suppport for frame thread encode