libc: string: fix warning

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>