Backport of strings.TrimPrefix