dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().