[PATCH 6.7 280/346] thermal: intel: hfi: Refactor enabling code into helper functions