[Linux-stable-mirror] [added to the 4.1 stable tree] mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy