libui: filter out invalid buffer usage bits

Before fixing callers to omit the invalid bits, we need to make sure
HALs do not use those bits.  Let's filter the invalid bits out and
see if anything breaks.

Bug: 72323293
Bug: 72703005
Test: play videos on Pixels
Change-Id: I539f9b785f9010b7b7cdc5f72d59391211f337e5
2 files changed