base: Remove use of strndup for win compile.
base: Remove use of strndup for win compile.

Change-Id: I5bad43bb5ff0de1e32e5755a83447f6e3bf50c00

google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto