Stability analysis of gravity driven shear flows with free surface for power-law fluids