Fix VK WritePixels with offset rect
Fix VK WritePixels with offset rect

VkUploadPixelsTest was failing because it was reallocating
the image when it didn't need to, because it was not
resetting the rowBytes when it did need to, and because the
origin was incorrect when using bottom-up images.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1940963002

Review-Url: https://codereview.chromium.org/1940963002

aosp-mirror/platform_external_skia,rubenvb/skia,aosp-mirror/platform_external_skia,rubenvb/skia,aosp-mirror/platform_external_skia,rubenvb/skia,HalCanary/skia-hc,google/skia,aosp-mirror/platform_external_skia,google/skia,rubenvb/skia,google/skia,tmpvar/skia.cc,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,Hikari-no-Tenshi/android_external_skia,google/skia,google/skia,aosp-mirror/platform_external_skia,rubenvb/skia,tmpvar/skia.cc,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,google/skia,rubenvb/skia,google/skia,tmpvar/skia.cc,google/skia,HalCanary/skia-hc,HalCanary/skia-hc,google/skia,Hikari-no-Tenshi/android_external_skia,HalCanary/skia-hc,tmpvar/skia.cc,HalCanary/skia-hc,tmpvar/skia.cc,HalCanary/skia-hc,aosp-mirror/platform_external_skia,tmpvar/skia.cc,aosp-mirror/platform_external_skia,HalCanary/skia-hc,HalCanary/skia-hc,rubenvb/skia,Hikari-no-Tenshi/android_external_skia,tmpvar/skia.cc,HalCanary/skia-hc,aosp-mirror/platform_external_skia,google/skia,rubenvb/skia,tmpvar/skia.cc,rubenvb/skia,aosp-mirror/platform_external_skia,tmpvar/skia.cc,HalCanary/skia-hc,Hikari-no-Tenshi/android_external_skia,Hikari-no-Tenshi/android_external_skia