MIPS: BCM47xx: Use kmemdup rather than duplicating its implementation