Simplify getSymbolOffset.

We can now use EvaluateAsValue to make it non recursive and remove some code
duplication.