(__strdup): Cast parameters to calloc to avoid warning with -Wconversion.