Fix thermal headroom listener test

* it should allow > 1 headroom during test
* fix the threshold value logging to return correct error

Bug: 388433220
Test: atest NativeThermalTest
Flag: TEST_ONLY
Change-Id: I886e5594bd665f44e07bee4084cc463b70c01fac
1 file changed