avcodec/vc1dec: do not crash when flushing without an allocated frame