lib: ropes_debug compliant with the new ropes

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>