catch-all function hooks

Map most of the bionic functions to glibc functions
to work-around the TLS issues caused by bionic-functions setting errno.

NOTE: this doesn't fix "struct" incompatibilities