IB/mlx5: Fix entries check in mlx5_ib_resize_cq