EGL/android: Enhance pbuffer implementation
EGL/android: Enhance pbuffer implementation

Some dri drivers will pass multiple bits in buffer_mask parameter
to droid_image_get_buffer(), more than the actual supported buffer
type combination. For such case, will go through all the bits, and
will not return error when unsupported buffer is requested, only
return error when the allocation for supported buffer failed.

v2: coding style and log changes
v3: coding style changes and update patch format

Signed-off-by: Liu Zhiquan <ad18db619da44c94f205d5c7b11e5515f9df5695@intel.com>
Signed-off-by: Long, Zhifang <ec8067c699c335c2ac9849602f04085834e5684e@intel.com>
Reviewed-by: Tomasz Figa <e928e8536d73fe98ff913c2a4249a3960d9cb959@chromium.org>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler