drm/radeon: fix a possible null pointer dereference
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.18.4 by commit 140d9807b96e1303f6f2675a7ae8710a2094bd17. For more details please see the references link.