Fix crash referencing array within array
Fix incorrect sign-extension of array indices
Fix invalid LLVM generated for constant records containing arrays