bugfix: setting ngx.var.VARIABLE could lead to stack buffer over-read in luaL_error when an error happened.