isl_point_get_coordinate: check validity of "pos" argument