[IR] Continuation of f8d237c7: ask StaticScope for lvar offset.

* There is another instance in IREvalScript that needs
  investigation and fixing.