On the energetics of mean‐flow interactions with thermally dissipating gravity waves