Fix build error when using wayland-egl am: c797d5ea8c

Original change: https://android-review.googlesource.com/c/platform/external/wayland/+/1895842

Change-Id: Iafff12c2d11048a3bcc4169defa2e9c25c037504