lib: libc: string: Port strtok and strtok_r implementation from bionic

Port strtok and strtok_r implementation from bionic

Change-Id: I81afd1563d307dd09e99cf7565f4e98cb6558847
2 files changed