[PATCH v2 5/5] wineoss: Move get_endpoint_ids to the unixlib.