[PATCH 6.10 227/263] tracing: Fix overflow in get_free_elt()