IB/mlx4: Fix out-of-range array index in destroy qp flow