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