net/mlx5: fix build with old kernels