[PATCH 5.10 273/352] drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules