Fix compiler warnings in generated Lua code
Fix comment typo
Eliminate unused parameter from SWIG_Php_GetModule()