Bug 1009410 - Expose graphic Buffer to MediaCodec

Since current B2G render pipeline needs graphicBuffer and MediaCodec cannot get graphicBuffer, we need to modify MediaCodec and ACodec to expose it.
More info is on https://bugzilla.mozilla.org/show_bug.cgi?id=1009410.