Assessing size effects on the deformation of nanovoids in metallic materials