Add DEX SHA1 to oat files.

Add SHA1 since it is much more reliable then CRC32/Adler.

CHECK that it matches with location checksum comparison.

We sill rely on the location checksum, this just ensures
that in the very unlikely case of CRC collision we crash,
rather than accept the DEX and later mysteriously fail.

Test: ./art/test.py -b --host --64
Change-Id: I51af02f63c9ce8b858e4e8b4363bb75f8774d477
14 files changed