Update lua_functions.cc

time_t is int on i386 so only enable the overload for time_t on 64bit