u_lightpos is always set when lights are available.

Tiny optimization.
Properly clamp some iterative snprintf()s.
Merge pull request #7051 from unknownbrackets/minor

Minor snprintf() and perf changes
Update native (fixes #7050.)