net/mlx5: refactor PCI probing on Linux