common.c: pass correct first argument to lua_Alloc function (fixes issue #3)