thermal-hal: Return failure only for uninitialized sensor request

Adapt legacy thermal utils according to commit
c5ea560f0f309699b1a0ba6cfc54552b29ba94df.

Change-Id: I9ff101882a5e4774fbdf3701b1a3f72ab4a1f22b
2 files changed