bugfix: ngx-lua-bt: check stack whether empty or not before exit