fix lua_cmsgpack pack map as array

The bug is described here: https://github.com/antirez/lua-cmsgpack/issues/24