Grain Boundary Induced Compositional Stresses in Non-stoichiometric Oxide Films