scripts: kconfig: fix dt_nodelabel_int_prop crash if prop doesn't exist

dt_nodelabel_int_prop did not check if the property existed on the node
before accessing it, which would result in a build-time crash (and thus
build error) if used on a node which lacked the requested property.

Fix by using the common _node_int_prop() helper which handles all edge
cases properly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
diff --git a/scripts/kconfig/kconfigfunctions.py b/scripts/kconfig/kconfigfunctions.py
index ed23768..4bc69d4 100644
--- a/scripts/kconfig/kconfigfunctions.py
+++ b/scripts/kconfig/kconfigfunctions.py
@@ -547,13 +547,7 @@
     except edtlib.EDTError:
         return "0"
 
-    if not node or node.props[prop].type != "int":
-        return "0"
-
-    if not node.props[prop].val:
-        return "0"
-
-    return str(node.props[prop].val)
+    return str(_node_int_prop(node, prop))
 
 def dt_chosen_bool_prop(kconf, _, chosen, prop):
     """