Compile failure with CONFIG_BAWP_ACROSS_SCALES_FIX on

What version / commit were you testing with?

700b1c2b

What steps will reproduce the problem?

cmake ../avm -DENABLE_WERROR=1 -DCONFIG_BAWP_ACROSS_SCALES_FIX=1 && make -j

What is the expected output?

Success

What do you see instead?

avm/av1/common/reconinter.c: In function av1_build_one_bawp_inter_predictor:
avm/av1/common/reconinter.c:3316:13: error: pd undeclared (first use in this function); did you mean xd?
 3316 |           ? pd->pre[ref].width >> inter_pred_params->subsampling_x
      |             ^~
      |             xd
avm/av1/common/reconinter.c:3316:13: note: each undeclared identifier is reported only once for each function it appears in
avm/av1/common/reconinter.c:3370:37: error: declaration of pd shadows previous non-variable [-Werror=shadow]
 3370 |     struct macroblockd_plane *const pd = &xd->plane[plane];
      |                                     ^~