Further constrain operations on `Dependency` containing a reference: assignment and `Reset()` are not supported.
Further constrain operations on `Dependency` containing a reference: assignment
and `Reset()` are not supported.

This makes them more analogous to actual references.

PiperOrigin-RevId: 426865846

google/riegeli,google/riegeli,google/riegeli,google/riegeli