Having 50% less people would reduce the overall hunger numbers, but not the ratio.
This argument is flawed because of the we're consuming significantly more resources then our planet could provide sustainably.
Increasing the quantity of consumers will always be detrimental for as long as resources are finite.
That is not true of everyone. Billions live on/with very little, sustainably.
Generally speaking, logistics have huge economies of scale (see Amazon) so an increase in market size will reduce the logistics cost per each item of food. Especially, for cold perishable dairy foodstuffs like dairy the cold chain costs may well dominate the costs of cows.
And don’t forget minimizing waste - which is another major part of the picture.