Fix luaQ_pushqt to work with luajit weak tables