Homogenization of an incompressible non-Newtonian flow through a thin porous medium