luajit21.py: ported trace_findfree over to make the trace number range check accurate.