glx/egl/x11: fix x11_dri3_check_multibuffer
!30662 (merged) is not a right fix for vaapi apps, and it introduces regression on xserver+amdgpu DDX case when no DRI3 multi plane support.
The first commit of this MR provide the right fix for vaapi apps, then second commit fix the regression.