[PATCH 6.11 202/558] drm/stm: Avoid use-after-free issues with crtc and plane