st/egl: Fix udev linkage when egl_dri2 is not build