Crtc: fix get_primary_plane