net/mlx4: change device reference for secondary process