Luajit: fix compilation and tests after libhtp upgrade