Walmart communications chief to depart after 3 years