[PATCH 6.5 317/739] drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()