s_strdup take a const char* string.

s_strdup should take a const string as its arguments, like the POSIX.1-2001 version.