perf probe: Move strtailcmp to string.c