Modulation of gauge field for the parity-time phase transition in circuit QED