powerhint: limited the dex2oat resouce when thermal stress

NORMAL    (< 37 degree): 6 threads, cpu-set: 0~5,7
LIGHT     (> 37 degree): 4 threads, cpu-set: 2~5
MODERATE  (> 41 degree): 2 threads, cpu-set: 2~5
SEVERE    (> 43 degree): 1 threads, cpu-set: 4,5
CRITICAL  (> 45 degree): 1 threads, cpu-set: 4,5
EMERGENCY (> 49 degree): 1 threads, cpu-set: 4,5

Bug: 162791243
Test: build and using emul temp/running burn8 to verify it
Change-Id: I0fe32db88de986b7a70407a65463395d9ae37faf
1 file changed