tst_res: constify char buffers were possible

We don't need to modify these buffers, so constify them.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
diff --git a/lib/self_exec.c b/lib/self_exec.c
index 06af313..1de1a7e 100644
--- a/lib/self_exec.c
+++ b/lib/self_exec.c
@@ -67,7 +67,7 @@
 	return rv;
 }
 
-void maybe_run_child(void (*child) (), char *fmt, ...)
+void maybe_run_child(void (*child) (), const char *fmt, ...)
 {
 	va_list ap;
 	char *child_dir;
@@ -155,7 +155,7 @@
 	}
 }
 
-int self_exec(char *argv0, char *fmt, ...)
+int self_exec(const char *argv0, const char *fmt, ...)
 {
 	va_list ap;
 	char *p;