vulkan: android hardware buffer fixes and cleanups
The first 3 commits port some anv changes to hasvk.
The next 7 commits clean up AHB support in the common code as well as in anv/hasvk/radv.
One of the commits fixes android.graphics.cts.BasicVulkanGpuTest#testBasicBufferImportAndRenderingExternalFormat
for radv (as noted in the commit message).
The last 2 commits improve what anv/hasvk/radv advertise in externalMemoryFeatures
. They fix dEQP-VK.api.external.memory.android_hardware_buffer.image_formats.*
for radv.
This is motivated by the CTS falures in radv. I only compile-tested anv/hasvk.