Remove cached light variables to reduce work when parsing DLs.

Also removes some duplication between GL and the inactive D3D code.
Buildfix non-windows platforms
Don't initialize lighting and lights unless they are enabled
Don't allow switching between JIT/interpreter when a game is running.
It doesn't work, anyway.
Merge remote-tracking branch 'upstream/no-light-cache'
Fix typo breaking older savestates.
Move the light params to separate funcs.
Fix uniform dirtying on colortest mask.
Separate out the fog color/coef executes.
Fix a typo
Merge pull request #5931 from raven02/patch-16

Fix a typo
Fix CRT shader
Merge pull request #5932 from raven02/patch-17

Fix CRT shader
Merge pull request #5928 from thedax/jitOptionIngame

Don't allow switching between JIT/interpreter when a game is running.
One more fix in crt.fs
Comment out a few unsafe replacement funcs.
Merge remote-tracking branch 'upstream/master' into fps2