Codec2: vndk: lock P010 with gralloc4 mapper first

Gralloc4 mapper allows querying buffer layout with detailed
plane information. Use this mapper (if available) for locking
P010 to get the correct stride and alignments

Test: android.media.decoder.cts.ImageReaderDecoderTest
Bug: 237374872

Change-Id: I0146fd69725fc28389a0133a4d39a243a683a6d4
1 file changed