[PATCH -next] drm/amdgpu: use kmemdup rather than duplicating its implementation