Move default fog exp depth to opaque to a define

Reduces number of FIXMEs
Only set shader fog type if fogParms/linearFogParms is valid
Fix r_useGlFog for maps without global fog or have fog brushes

r_useGlFog is still pretty broken, not sure if this has visible changes.