[server/rql2sql] use VariableRef.is_equivalent explicitly instead of relying on __eq__
What we want to compare is the variable referenced by the VariableRef,
we should make that explicit.
Closes #6694406
raiseNotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")