nitg: fix FFI _is_null functions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>