Dependence of accessible dark matter annihilation cross sections on the density profiles of dwarf spheroidal galaxies with the Cherenkov Telescope Array