Flavored gauge mediation in the Peccei-Quinn NMSSM