Effects of dark matter pressure on the ellipticity of cosmic voids