Pure-state noninteracting v-representability of electron densities from Kohn-Sham calculations with finite basis sets