hwcontext_vulkan: fix uploading and downloading from/to flipped images