avcodec/ffv1: Simplify update_vlc_state()