Measurement of the top-quark mass in the all-hadronic channel using the full CDF data set