h264: stop testing whether the reference count changes in ff_set_ref_count()