[PATCH 5.2 064/135] drm/amd/powerplay: fix null pointer dereference around dpm state relates