Chemical homogeneity effects on the nonlinear dielectric response of lead zirconate titanate thin films