I know this is not what you asked, but here is an easy way to achieve what you want:
First, generate random pairs of 16-bit integers $p_0$ and $q_0$ (each $\ge 2^{15}$), until you get a pair that satisfies
$$p_0\cdot q_0\ge 2^{31}$$
Then generate two $n$-bit primes $p$ and $q$ with most significant 16 bits $p_0$ and $q_0$, respectively. These will satisfy $pq>2^{n-1}$, which is what you want.
The probability that such a randomly generated pair satisfies $p_0\cdot q_0\ge 2^{31}$ is approximately $2(1-\ln 2)\approx 0.614$, so the first stage shouldn't take long.