ART: Add dex2oat return codes

Refactor exit codes for dex2oat and export them. In preparation for
installd usage.

Bug: 36336122
Test: m test-art-host
Change-Id: I90bc49128886719f7595105ecc40405ddf821850
3 files changed