It was moved a long time ago and the former is not guaranteed to be available. fixes #424
The LIGHT_MAX global is created in the legacy.lua file in the default mod; it states that it's there for backwards compatibility, but it would be better to reference the proper value inside the default table.