Add thermal category to atrace. am: e3079a9982 am: e208ed66e6

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1362700

Change-Id: Id82fd88110416e7b267a669716adc46c61b4ee94