You could try a permutation test. These are a kind of non-parametric statistical test which involve creating your own null distribution from your data.
Your hypothesis $H_{1}$ in this case, is that your gene set has a higher GC content than expected by chance. Similarly, your null hypothesis, $H_{0}$ is that there is there is no difference between your set a random set of gene from the population. You are interested in a p-value, which simply asks what the probability of obtaining a test result at least as extreme as the result actually observed, under the assumption that the null hypothesis is correct.
So thus to obtain a p-value and take say, 1000 random samples of protein-coding genes and calculate their GC content to obtain a null distribution. Then to obtain a p-value that your gene set has a higher GC content than expected under the null, take the proportion of the null distribution greater than your gene set.