Walk scope chain when looking for stack offset