gio, tests: adaptations for building with bionic libc from termux

Øyvind "pippin" Kolås requested to merge ok/termux-build-issues into main

These commits fix some compilations failures seen under the both very picky, and arguably slightly broken toolchain one gets with termux under android. Being able to build meson projects with glib as a subproject from android in a pinch is nevertheless useful.

Closes #3008 (closed)

Edited by Philip Withnall

Merge request reports