libs/gui: Release acquired buffer when createImage fails

When EGL fails to create an KHR image for an acquired buffer,
release the buffer before returning with error. This unblocks
the dequeue buffer call waiting and may succeed in the next queue.

CRs-Fixed: 624244

Change-Id: I674807f4bb1f1253cb787daaa5a7adf351caaae7
(cherry picked from commit 9e9b12d7f37a6120a705db56a4374e7141c79a41)
Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS

Change-Id: I20a807a84ad268a69150411ae8abc18fc92741ff
Merge branch 'kk' of git://github.com/CarbonDev/android_frameworks_native into kk