Lua: Fix "'snprintf': identifier not found"

Was receiving "'snprintf': identifier not found" compiler error when compiling with Lua bindings generated with SWIG version 3.0.0 on Windows. This fixes the issue. It is also the same fix used in chickenrun.swg.