drm/amdgpu/pm: fix the null pointer while the smu is disabled
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.3 by commit 49ec3441aa5e5940f3e82dd2f0205b9c856e399d. For more details please see the references link.