Don’t use the resolved value to calculate the location unless the variable is in a register
This was causing a bunch of test cases to fail in python_api/process since they relied on SBValue::GetLocation()

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181075 91177308-0d34-0410-b5e6-96231b3b80d8