[PATCH 6.1 117/150] tracing: Fix overflow in get_free_elt()