libstagefright: support for disabling buffer metadata