radv: When importing an image, redo the layout based on the metadata.
When importing a DMA-BUF, the image layout created in vkImageCreate may not match the imported BO's. To make this work we redo the layout based on the metadata of the imported image. The original patch did a delayed allocation just as for AHB, but that does not work for images that are not imported (but e.g. exported only). Original patch by Simon Ser <contact@emersion.fr> Closes: mesa/mesa#2801 CC: mesa-stable Reviewed-by:Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!6274> (cherry picked from commit d19bc94e)