Fix bug in P2(x, a)

The following line in P2(x, a) was erroneous:
primesieve::generate_n_primes(a, &primes);