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>