d2-common: dex-opt to cache

Cache partition is ~850 MB. We have the space.

Change-Id: I70e0bda7553b6c2dab4aed97feda8b817a9ef3b9
(cherry picked from commit 4e9605f5a3b958715ab14a6c921ec8c4f151cbac)