anv: Add a vk_image_layout_to_usage_flags helper