avcodec/xwddec: Use ff_set_dimensions()