From HUL to Nestle, consumer goods makers are caught between resilient demand and stubborn input costs. With prices rising and margins under pressure, earnings face a tougher road ahead