vulkan: Filter out external memory flags based on guest system.

Android guests don't support Zircon handle types as external memory,
and Fuchsia guests don't support AHB/opaque fds either. When guests
receive the VkExternalMemoryProperties from host, they should filter
out all the external memory formats they don't support.

This is part of fix to vkext_unprotected tests on FEMU.

Bug: fuchsia:60064
Change-Id: I6f7b47191ab80aa1383fe99c6366522a758b6fa0
3 files changed