lib: string: add strlen

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>