thermal: Add checks to search for thermal zones first

There are instances where PM-QA might be running on
systems that do not have thermal zones and might have
cooling systems instead; therefore some subtests may
instantly fail because of it. Add more checks to see
if thermal zones exist before continuing the thermal
subtests.

Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
3 files changed