printer BUGFIX allow printing empty data trees

As they often create a valid non-empty data
file.
diff --git a/src/printer_data.c b/src/printer_data.c
index 3d78d3b..cd3866a 100644
--- a/src/printer_data.c
+++ b/src/printer_data.c
@@ -52,7 +52,7 @@
 API LY_ERR
 lyd_print_all(struct ly_out *out, const struct lyd_node *root, LYD_FORMAT format, int options)
 {
-    LY_CHECK_ARG_RET(NULL, out, root, !(options & LYD_PRINT_WITHSIBLINGS), LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, out, !(options & LYD_PRINT_WITHSIBLINGS), LY_EINVAL);
 
     /* reset the number of printed bytes */
     out->func_printed = 0;
@@ -74,7 +74,7 @@
 API LY_ERR
 lyd_print_tree(struct ly_out *out, const struct lyd_node *root, LYD_FORMAT format, int options)
 {
-    LY_CHECK_ARG_RET(NULL, out, root, !(options & LYD_PRINT_WITHSIBLINGS), LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, out, !(options & LYD_PRINT_WITHSIBLINGS), LY_EINVAL);
 
     /* reset the number of printed bytes */
     out->func_printed = 0;
@@ -91,7 +91,7 @@
     LY_ERR ret;
     struct ly_out *out;
 
-    LY_CHECK_ARG_RET(NULL, strp, root, LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, strp, LY_EINVAL);
 
     /* init */
     *strp = NULL;
@@ -108,7 +108,7 @@
     LY_ERR ret;
     struct ly_out *out;
 
-    LY_CHECK_ARG_RET(NULL, fd != -1, root, LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, fd != -1, LY_EINVAL);
 
     LY_CHECK_RET(ly_out_new_fd(fd, &out));
     ret = lyd_print_(out, root, format, options);
@@ -122,7 +122,7 @@
     LY_ERR ret;
     struct ly_out *out;
 
-    LY_CHECK_ARG_RET(NULL, f, root, LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, f, LY_EINVAL);
 
     LY_CHECK_RET(ly_out_new_file(f, &out));
     ret = lyd_print_(out, root, format, options);
@@ -136,7 +136,7 @@
     LY_ERR ret;
     struct ly_out *out;
 
-    LY_CHECK_ARG_RET(NULL, path, root, LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, path, LY_EINVAL);
 
     LY_CHECK_RET(ly_out_new_filepath(path, &out));
     ret = lyd_print_(out, root, format, options);
@@ -151,7 +151,7 @@
     LY_ERR ret;
     struct ly_out *out;
 
-    LY_CHECK_ARG_RET(NULL, writeclb, root, LY_EINVAL);
+    LY_CHECK_ARG_RET(NULL, writeclb, LY_EINVAL);
 
     LY_CHECK_RET(ly_out_new_clb(writeclb, arg, &out));
     ret = lyd_print_(out, root, format, options);