Fix the GetArrayElementType() call so it will not crash when called on a non-array thing
Also, the stride is now a pointer so one can avoid passing it if it's not required



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