Influences of Work Function Changes in NO2 and H2S Adsorption on Pd-Doped ZnGa2O4(111) Thin Films: First-Principles Studies