Revert "Revert "libstagefright: support for disabling buffer metadata""

This reverts commit 28234500a1820e2527591bdcb73e80117bc277a6.