Measurement of the inclusive-isolated prompt-photon cross section in pp collisions using the full CDF data set