Use global fog if underwater and no water fog at view point

Always check for water fog, even if underwater flag isn't set. Water fog might be better described as view fog.
Rename water fog to view fog

waterfogvars is still supported in shaders, for RTCW/ET compatibility.