Don't calculate lighting when not enabled.

We just ignore it anyway.  2% improvement in Tales of Phantasia X.
Merge pull request #5719 from unknownbrackets/gpu-minor

Don't calculate lighting when not enabled (software transform)