Codec2: fix leaked graphic buffer handles

Unmap the locked handles when returning from error conditions

b/221226088

Test:
  android.media.cts.ImageReaderDecoderTest#testOtherH265_10BitImage

Change-Id: I7f3dd968a856fb66c15e172131a2357f4a99cd42
1 file changed