ide: add ide_deprecated_find_port() helper