isl_space_drop_dims: take into account overflow when checking indices

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>