common/mlx5: add glue functions on Windows