[PATCH v4 1/2] mm: add kstrimdup function