[PATCH v4 1/7] lib: string: add functions to case-convert strings