data tree REFACTOR remove lys_value_validate

Its functionality was added into lyd_value_validate.
diff --git a/tools/re/main.c b/tools/re/main.c
index 8583e73..701b0a1 100644
--- a/tools/re/main.c
+++ b/tools/re/main.c
@@ -269,7 +269,7 @@
     }
 
     /* check the value */
-    match = lys_value_validate(ctx, mod->compiled->data, str, strlen(str));
+    match = lyd_value_validate(ctx, mod->compiled->data, str, strlen(str), NULL, NULL, NULL);
 
     if (verbose) {
         for (i = 0; i < patterns_count; i++) {