net/mlx5: fix build with dlopen linkage