Standardize the snprintf() failure messages, and add tests for libmemcached_util_getpid()