Add more logging around array sanity checks

We are getting odd failures due to CHECK failures. Add more logging
at the failure points to try to get an idea of what is going on.

Test: ./test.py --host
Bug: 147207934
Change-Id: Icd006ca10908a0e800821a4352d29b6e722473a6
2 files changed