libyang REFACTOR avoid connection between context and log location storage

libyang works strictly with a single context now, so it is not necessary
to connect the log location information with a specific context. It also
clarifies what to do when the context is not available in the function
but still a location information in an error message could be useful.
diff --git a/src/in.c b/src/in.c
index a9c99a9..8912b32 100644
--- a/src/in.c
+++ b/src/in.c
@@ -385,7 +385,7 @@
 {
     LY_ERR ret = LY_EVALID;
 
-    LOG_LOCSET(lydctx->data_ctx->ctx, snode, NULL, NULL, NULL);
+    LOG_LOCSET(snode, NULL, NULL, NULL);
 
     if ((lydctx->parse_options & LYD_PARSE_NO_STATE) && (snode->flags & LYS_CONFIG_R)) {
         LOGVAL(lydctx->data_ctx->ctx, LY_VCODE_INNODE, "state", snode->name);
@@ -423,7 +423,7 @@
     ret = LY_SUCCESS;
 
 cleanup:
-    LOG_LOCBACK(lydctx->data_ctx->ctx, 1, 0, 0, 0);
+    LOG_LOCBACK(1, 0, 0, 0);
     return ret;
 }