isl_map_insert_dims: handle NULL input