Effect of void shape on the macroscopic response of non-linear porous solids