thermal-hal: Use correct threshold severity index

Use the correct threshold severity Index when populating and retrieving
the threshold.

Change-Id: Ifec69778e69d9d480018782ee446a12ab5089a10
2 files changed