common/mlx5: wrap event channel functions on Windows