[PATCH 5.4 128/138] drm/amdgpu: Fix NULL dereference in dpm sysfs handlers