[PATCH 4/9] gisi: explicitly compare pointers to NULL