Remove the EGL dependency on X11
Remove the EGL dependency on X11

Otherwise when x11 is disabled, it can't be compiled correctly.

Signed-off-by: Zhao Yakui <21bae65ecea50a19bd9d0fef489914760189fd5b@intel.com>
(cherry picked from commit e8a2b81744347809230fdc510c6135bbcef9cc22)

CyanogenMod/android_hardware_intel_libva,halleyzhao/libva-fdo,CyanogenMod/android_hardware_intel_libva,CyanogenMod/android_hardware_intel_libva,halleyzhao/libva-fdo,android-ia/hardware_intel_libva,android-ia/hardware_intel_libva,android-ia/hardware_intel_libva,halleyzhao/libva-fdo