avcodec/vp56: Clear dimensions in case of failure in the middle of a resolution change