Revert "use the MetadataBufferType defined in frameworks/native"

This reverts commit dd169dc0721cc6241d97b26996a0f69e76359443.