Added a compat layer for 'syscall.h'

Path to include syscall.h is different on Android
Fix: Do not redefine gettid on Android

Bionic already defines gettid through <unistd.h>