CLEANUP: hlua: use hlua_unref() instead of luaL_unref()

Replacing some luaL_unref(, LUA_REGISTRYINDEX) calls with hlua_unref()
which is simpler to use and more explicit.
1 file changed