[2/2] Speed up booting on multicore devices.

Add multithreading support.

Change-Id: I13630de9d75d13c0368d261b3564b787067b65b1
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_native into temp