mesa: fix interface matching done in validate_io