Fix warning of strncpy() size field.
Fix warning of strncpy() size field.

bcc/tests/cc/test_c_api.cc:159:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 1024 equals destination size [-Wstringop-truncation]
  159 |   strncpy(libpath, lm->l_name, 1024);
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~

iovisor/bcc,iovisor/bcc,iovisor/bcc,iovisor/bcc,iovisor/bcc