Move dexdiag out of the release APEX, to avoid dependencies on
lib{proc,mem}info there.

Also deduped the dexdump and dexlist checks in art_apex_test.py.

Test: art/build/apex/runtests.sh (on aosp_taimen, aosp_cf_x86_phone, hikey64_only)
Bug: 124293228
Bug: 118374951

(cherry picked from commit 77f17668f9d9dfe152deca165ddaac9aec4a7ce4)

Change-Id: Id316d9b2534b2b30211d2770d0835f208dc6b83b
2 files changed