nitg: use a portable macro PRINT_ERROR instead of fprintf

Outputs to stderr on Linux and to logcat on Android.

The macro is defined both in the C internal to the compiled Nt program and to each FFI files which are separated from the internals.