Generating SU(Nc) pure gauge lattice QCD configurations on GPUs with CUDA and OpenMP