schema CHANGE integrate statement parser with the compilation process

Does not cover all the statements - focused mainly for yang-data
extension, so it handles schema nodes processing.
diff --git a/src/plugins_exts_metadata.c b/src/plugins_exts_metadata.c
index 99df4f0..a099acd 100644
--- a/src/plugins_exts_metadata.c
+++ b/src/plugins_exts_metadata.c
@@ -115,7 +115,7 @@
     c_ext->substmts[ANNOTATION_SUBSTMT_REF].cardinality = LY_STMT_CARD_OPT;
     c_ext->substmts[ANNOTATION_SUBSTMT_REF].storage = &annotation->ref;
 
-    LY_CHECK_RET(lys_compile_extension_instance(cctx, p_ext, c_ext->substmts));
+    LY_CHECK_RET(lys_compile_extension_instance(cctx, p_ext, c_ext));
 
     return LY_SUCCESS;
 }