Finite-size scaling of the three-state Potts model on a simple cubic lattice