Fix android.hardware.cts.CameraTest#testPreviewFormats

testPreviewFormats was not correctly calculating size for YV12 formats.
It might have worked before but only if the width was a multiple of 32.

Bug: 7309575
Change-Id: I36a06aba74265ea1d62c948106054c718ac3eb02
1 file changed