Revert "thermal_framework: add missing struct *domain"

This reverts commit 54b38da1fde9ac145c57e121422798f321d80e04.
Revert "thermal_framework: update header file [3.0.31]"

This reverts commit 197cae04176cf9b0a260040be1a5c2294fc87c4c.