Go back to snprintf rather than strlcpy.

ChromeOS uses the same copy of the gdb source, and glibc doesn't have
strlcpy. snprintf is what we used historically anyway.

Bug: http://b/146175305
Test: treehugger
Change-Id: If048bc5baf5353690b29d78347e425f9f48afcd4
1 file changed
tree: b150a05f26f05d32f7e7d4892ae33e8ae717d6d9
  1. gdb-7.11/
  2. gdb-8.0.1/
  3. gdb-8.2/
  4. gdb-8.3/