openfimg: Add support for Android build

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
mesa: Fix Android build issues due to src/util creation

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
openfimg: Get around missing qsort_r() in Bionic

Refactor vertex element sorting to use normal qsort().

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
st/egl: Include drm_gallium public header

It is needed for DRM specific extensions, such as custom surface formats
and perform operations.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>