use the MetadataBufferType defined in frameworks/native

Change-Id: Ifb56622b7d0464e683882ef5b7c89e6dc5c8a097
Signed-off-by: Lajos Molnar <lajos@google.com>
Merge remote-tracking branch 'cm/cm-11.0' into HEAD