Update util.c: trivial fix.

Fix potential buffer overflow in get_sys_str.