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