isl_basic_map_intersect: avoid NULL pointer dereference