anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format

When HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED is used, then the platform
gralloc module will select a format based on the usage flags provided by
the camera device and the other endpoint of the stream.

The patch fixes crash in vulkan when the test is run with camera stream
set to HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED.

Test: android.graphics.cts.CameraVulkanGpuTest#testCameraImportAndRendering
on chromebook with camera HAL3.

v2: use AHARDWAREBUFFER_FORMAT_IMPLEMENTATION_DEFINED and take
    AHARDWAREBUFFER_USAGE_CAMERA_MASK in to account (Gurchetan)

Fixes: f1654fa7 "anv/android: support creating images from external format"
Signed-off-by: Nataraj Deshpande <nataraj.deshpande@intel.com>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
10 jobs for !1116 with hal_impl_defined in 10 minutes and 23 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Containers Build
passed #377096
debian

00:00:18

 
  Build+Test
passed #377098
meson-clang

00:03:30

passed #377102
meson-clover

00:08:02

passed #377101
meson-main

00:05:38

passed #377097
meson-swr-glvnd

00:01:25

passed #377103
meson-vulkan

00:02:33

passed #377105
scons-llvm

00:02:09

passed #377104
scons-nollvm

00:02:38

passed #377099
scons-swr

00:10:04

passed #377100
scons-win64

00:06:18