Cache some dictionary lookups in FrozenUnderFog.Tick.

Since FrozenUnderFog.Tick gets called a lot, these dictionary lookups were actually getting repeated a fair amount. Avoiding the repeated work is a minor performance improvement.
Merge pull request #5504 from RoosterDragon/frozen-fog-lookup-locals

Cache some dictionary lookups