Dynamical Generation of the Peccei-Quinn Scale in Gauge Mediation