isl_input_omega.c: fix check for memory allocation error