Modified Stoney Equation for Patterned Thin Film Electrodes on Substrates in the Presence of Interfacial Sliding