anv/android: Re-implement AcquireImageANDROID

Instead of doing a vkQueueSubmit() and hoping for the best, use the
actual sync FD that gets passed in from SurfaceFlinger.  The semaphore
and fence FD import functions already handle the -1 case for us so the
implementation is almost trivial.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Chad Versace <chad@kiwitree.net>
Part-of: <!8814>
35 jobs for !8814 with wip/anv-android-sync in 3 minutes and 39 seconds (queued for 3 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #7401832
sanity

00:00:10

 
  Container
passed #7401837
aarch64
arm_build

00:00:14

passed #7401839
arm_test-base

00:00:10

passed #7401840
windows shell 1809 mesa
windows_build_vs2019

00:00:09

passed #7401834
x86_build-base

00:00:10

passed #7401835
x86_test-base

00:00:09

 
  Container 2
passed #7401855
android_build

00:00:14

passed #7401860
arm64_test

00:00:15

passed #7401862
armhf_test

00:00:15

passed #7401850
i386_build

00:00:14

passed #7401843
kernel+rootfs_amd64

00:00:20

passed #7401845
aarch64
kernel+rootfs_arm64

00:01:09

passed #7401847
aarch64
kernel+rootfs_armhf

00:00:11

passed #7401852
ppc64el_build

00:00:16

passed #7401853
s390x_build

00:00:14

passed #7401848
x86_build

00:00:16

passed #7401857
x86_test-gl

00:00:16

passed #7401858
x86_test-vk

00:00:09

 
  Meson X86 64
passed #7401872
meson-clang

00:01:53

passed #7401874
meson-clover

00:02:53

passed #7401867
meson-clover-testing

00:01:50

passed #7401868
gstreamer
meson-gallium

00:01:12

passed #7401870
meson-release

00:00:56

passed #7401863
meson-testing

00:02:04

passed #7401865
meson-testing-asan

00:02:36

passed #7401875
meson-vulkan

00:01:04

 
  Build Misc
passed #7401877
meson-android

00:01:51

passed #7401881
aarch64
meson-arm64

00:01:36

passed #7401883
aarch64
meson-arm64-asan

00:03:12

passed #7401885
aarch64
meson-arm64-build-test

00:01:22

passed #7401879
aarch64
meson-armhf

00:01:45

passed #7401887
meson-i386

00:01:51

passed #7401892
meson-mingw32-x86_64

00:01:53

passed #7401890
kvm
meson-ppc64el

00:01:35

passed #7401888
kvm
meson-s390x

00:02:50