drm/amd/display: Refactor to prevent crtc state access in DM IRQ handler