crypto: ux500 - replace kmalloc and then memcpy with kmemdup