MultiThreaded-MultiCore dexopt: reworked.

-My first attempt only worked in one specific case but now works
for all cases!
Merge branch 'carbon' of https://github.com/Meticulus/android_device_hisense_m470 into carbon