Role of the Plastic Flow of the Matrix on Yielding and Void Evolution of Porous Solids