Fix Half Pel MC on Last Ref Row

If MC is referring to the last MB row, in case of field pictures,
it could incorrectly read up to 8 extra rows in the reference
buffer and 9 rows in case of half_y prediction.

Bug: 63873837
Test: ran POC on patched ASAN-enabled code
Change-Id: I83af03b3c6b7e08a984f7b383bedf706422f6354
(cherry picked from commit 8c0289c09cddd378cd9a321ccdb1c62e7b80f626)
1 file changed
tree: 6a9b29608a071534d724f057d5e302ffc4964992
  1. common/
  2. decoder/
  3. test/
  4. Android.bp
  5. MODULE_LICENSE_APACHE2
  6. NOTICE