Remove redefinition of strndup() which is no longer used in the codebase