xwddec: prevent overflow of lsize * avctx->height