utils: introduce osmo_talloc_replace_string_fmt()

Change-Id: I6b84fa0525555a98c531fc558e5dc1298fec00c1
diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h
index 85a8cb3..1fdb0eb 100644
--- a/include/osmocom/core/utils.h
+++ b/include/osmocom/core/utils.h
@@ -117,6 +117,8 @@
 	*dst = talloc_strdup(ctx, newstr);
 }
 
+void osmo_talloc_replace_string_fmt(void *ctx, char **dst, const char *fmt, ...);
+
 /*! Append to a string and re-/allocate if necessary.
  * \param[in] ctx  Talloc context to use for initial allocation.
  * \param[in,out] dest  char* to re-/allocate and append to.