net/mlx4: fix port attach in secondary process