drm/amdgpu: fix out of bounds write
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.77 by commit eb3b6805e3e9d98b2507201fd061a231988ce623. For more details please see the references link.