On the Diophantine complexity of the set of prime numbers