Update apex rules for dex2oatd

The apex rules need to stay in line with the compile_multilib state of
the modules they reference. This updates the rules to have the correct
state for dex2oatd. These are also needed to correctly handle the new
symlinks that will be included in the apex files.

Test: m com.android.runtime.host
Test: m com.android.runtime.debug
Test: ./art/build/apex/runtests.sh

Bug: 119942078
Bug: 122373634
Bug: 123079311
Change-Id: Ic58be88320b853f8e89e6aeea1891a897f898ae2
2 files changed