Revert "Codec2Buffer: vstride to match height"

This reverts commit d8c4810131941a1e23f297f0c37bb12fcfbaceb8.

Reason for revert: There is a better way to fix this problem by updating the KEY_HEIGHT to correct value rather than changing the way data is copied.

Change-Id: Id5919fa62b3557f6218b51d117bcb472e0490d6e
diff --git a/media/codec2/sfplugin/Codec2Buffer.cpp b/media/codec2/sfplugin/Codec2Buffer.cpp
index 62c8fcd..4070478 100644
--- a/media/codec2/sfplugin/Codec2Buffer.cpp
+++ b/media/codec2/sfplugin/Codec2Buffer.cpp
@@ -248,10 +248,7 @@
 
         // align width and height to support subsampling cleanly
         uint32_t stride = align(view.crop().width, 2) * divUp(layout.planes[0].allocatedDepth, 8u);
-
-        int32_t fmtHeight = mHeight;
-        format->findInt32(KEY_HEIGHT, &fmtHeight);
-        uint32_t vStride = align(fmtHeight, 2);
+        uint32_t vStride = align(view.crop().height, 2);
 
         bool tryWrapping = !copy;