modify module stdstring: fix bug of handle overflow parameter of sdstring_substr() & sdstring_trim()